Files
nixpkgs/pkgs/by-name/nf/nflz/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

37 lines
1.0 KiB
Nix

{
fetchCrate,
lib,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "nflz";
version = "1.0.2";
src = fetchCrate {
inherit pname version;
hash = "sha256-c9+79zrIU/M1Rh+DiaLJzbrNSa4IKrYk1gP0dsabUiw=";
};
cargoHash = "sha256-aw3p0Lr/gWC1yDpVCXVibj4eU7ZFCQDy8kHtE6d6Yjg=";
# Tests do not work in the package published on crates.io, since the folder
# with test resources is not packaged.
doCheck = false;
meta = {
description = "Numbered Files Leading Zeros helps you to manage ascending numbered file names";
longDescription = ''
CLI to add leading zeros to ascending numbered file names.
NFLZ stands for Numbered Files Leading Zeros.
This library helps you to manage files inside your file system that
belong to a set of ordered files. An example are photos from a camera.
'';
homepage = "https://github.com/phip1611/nflz";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ phip1611 ];
mainProgram = "nflz";
};
}