diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/nomino/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/misc/nomino/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/misc/nomino/default.nix b/nixpkgs/pkgs/tools/misc/nomino/default.nix new file mode 100644 index 000000000000..e4b7acfa8883 --- /dev/null +++ b/nixpkgs/pkgs/tools/misc/nomino/default.nix @@ -0,0 +1,24 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "nomino"; + version = "1.3.3"; + + src = fetchFromGitHub { + owner = "yaa110"; + repo = pname; + rev = version; + hash = "sha256-XT8+mwfDFsBVEcpttus1KeIS+4sKqJMJTwqYI3LfW5k="; + }; + + cargoHash = "sha256-KpjGwqjVORyxXJbMi2Ok7s6gRmM/aJRTsPtu/0PgGr8="; + + meta = with lib; { + description = "Batch rename utility for developers"; + homepage = "https://github.com/yaa110/nomino"; + changelog = "https://github.com/yaa110/nomino/releases/tag/${src.rev}"; + license = with licenses; [ mit /* or */ asl20 ]; + maintainers = with maintainers; [ figsoda ]; + mainProgram = "nomino"; + }; +} |