diff options
author | Philipp Schuster <phip1611@gmail.com> | 2023-02-17 21:58:41 +0100 |
---|---|---|
committer | Philipp Schuster <phip1611@gmail.com> | 2023-02-18 20:21:01 +0100 |
commit | c4a002263cb09c4dd1beb5c6b1eadb696b3897a9 (patch) | |
tree | d37772d8794893913a47f23f8cff04e07094407d /pkgs/misc | |
parent | 9d344df50a6130917791e851ecb75ba5c6a5112d (diff) | |
download | nixpkgs-c4a002263cb09c4dd1beb5c6b1eadb696b3897a9.tar nixpkgs-c4a002263cb09c4dd1beb5c6b1eadb696b3897a9.tar.gz nixpkgs-c4a002263cb09c4dd1beb5c6b1eadb696b3897a9.tar.bz2 nixpkgs-c4a002263cb09c4dd1beb5c6b1eadb696b3897a9.tar.lz nixpkgs-c4a002263cb09c4dd1beb5c6b1eadb696b3897a9.tar.xz nixpkgs-c4a002263cb09c4dd1beb5c6b1eadb696b3897a9.tar.zst nixpkgs-c4a002263cb09c4dd1beb5c6b1eadb696b3897a9.zip |
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 00000000000..10a87f85b11 --- /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 ]; + }; +} |