diff options
author | figsoda <figsoda@pm.me> | 2022-09-25 14:48:10 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2022-09-25 14:52:59 -0400 |
commit | 7b74a7ea32237b6d2877419a6e4e55c67da81347 (patch) | |
tree | b99071150c74a884c61aa8e31a7901c8933e5530 /pkgs/tools/text/rnr | |
parent | ab7290449498f45b7cef6f134f378209f27ac0f9 (diff) |
rnr: init at 0.4.1
Diffstat (limited to 'pkgs/tools/text/rnr')
-rw-r--r-- | pkgs/tools/text/rnr/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/text/rnr/default.nix b/pkgs/tools/text/rnr/default.nix new file mode 100644 index 0000000000000..55a4c2ddf6815 --- /dev/null +++ b/pkgs/tools/text/rnr/default.nix @@ -0,0 +1,23 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "rnr"; + version = "0.4.1"; + + src = fetchFromGitHub { + owner = "ismaelgv"; + repo = pname; + rev = "v${version}"; + sha256 = "1r1ahh8bmqrc7zb4bq5ka8bsngncf7im51nf5il49cvysij1i4q8"; + }; + + cargoSha256 = "sha256-qgKL+y+w+9ADClxLNwglHMufaysY0K9g29PyuXZ7x7g="; + + meta = with lib; { + description = "A command-line tool to batch rename files and directories"; + homepage = "https://github.com/ismaelgv/rnr"; + changelog = "https://github.com/ismaelgv/rnr/blob/v${version}/CHANGELOG.md"; + license = licenses.mit; + maintainers = with maintainers; [ figsoda ]; + }; +} |