3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/rename/default.nix
2021-05-03 13:21:54 +01:00

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