diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-02-18 20:52:55 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-18 20:52:55 -0300 |
commit | da26711651be8a01145f9289d4321af14dc2e726 (patch) | |
tree | de2bef8b3d6a03d972c8c0771cb0521fda9b776d /pkgs/misc | |
parent | 06365ba4549654b7ce58c33365c1282800e83a9e (diff) | |
parent | c4a002263cb09c4dd1beb5c6b1eadb696b3897a9 (diff) |
Merge pull request #216867 from phip1611/init-nflz
nflz: init at 1.0.2
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/nflz/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/misc/nflz/default.nix b/pkgs/misc/nflz/default.nix new file mode 100644 index 0000000000000..10a87f85b1178 --- /dev/null +++ b/pkgs/misc/nflz/default.nix @@ -0,0 +1,34 @@ +{ 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-+SOoZFVJ6mASRKufQE4JmHGKR5rbBgg1PmCrI6dvvko="; + + # 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 ]; + }; +} |