nixpkgs-suyu/pkgs/misc/nflz/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
1,010 B
Nix
Raw Normal View History

2023-02-17 21:58:41 +01:00
{ 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 ];
};
}