Merge pull request #192928 from figsoda/rnr

rnr: init at 0.4.1
This commit is contained in:
figsoda 2022-09-26 15:23:38 -04:00 committed by GitHub
commit d936463c78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -10666,6 +10666,8 @@ with pkgs;
rnp = callPackage ../tools/security/rnp { };
rnr = callPackage ../tools/text/rnr { };
rnv = callPackage ../tools/text/xml/rnv { };
rosie = callPackage ../tools/text/rosie { };