build(package/prettify-log): nix package

This commit is contained in:
2025-02-01 00:32:10 +00:00
parent 46ab7d9e52
commit a13025868a
3 changed files with 40 additions and 9 deletions

View File

@@ -0,0 +1,15 @@
{ cargoToml, nativeBuildInputs, pkgs, ... }:
let
src = ./.;
cargo = cargoToml src;
in
pkgs.rustPlatform.buildRustPackage {
pname = cargo.package.name;
version = cargo.package.version;
inherit nativeBuildInputs src;
cargoLock.lockFile = ./Cargo.lock;
doCheck = true;
}