depot/third_party/nixpkgs/pkgs/tools/misc/rename/default.nix
Default email 170c3b4027 Project import generated by Copybara.
GitOrigin-RevId: 7cb76200088f45cd24a9aa67fd2f9657943d78a4
2021-05-03 22:48:10 +02:00

19 lines
546 B
Nix

{ lib, fetchFromGitHub, perlPackages }:
perlPackages.buildPerlPackage rec {
pname = "rename";
version = "1.11";
outputs = [ "out" ];
src = fetchFromGitHub {
owner = "pstray";
repo = "rename";
rev = "v${version}";
sha256 = "SK6wS3IxjCftuDiiZU27TFnn9GVd137zmzvGH88cNLI=";
};
meta = with lib; {
description = "Rename files according to a Perl rewrite expression";
homepage = "https://github.com/pstray/rename";
maintainers = with maintainers; [ mkg cyplo ];
license = with licenses; [ gpl1Plus ];
};
}