depot/third_party/nixpkgs/pkgs/tools/text/rnr/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

23 lines
670 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "rnr";
version = "0.4.2";
src = fetchFromGitHub {
owner = "ismaelgv";
repo = pname;
rev = "v${version}";
sha256 = "sha256-g/PnvOZzlWzEHf3vvYANeJ2ogQ/6duNzhlKpKMBoBFU=";
};
cargoSha256 = "sha256-+oDRNBQ03MknhcTpZFKt0ipJY43LPOKbGF014rrs6dw=";
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 ];
};
}