nixpkgs/pkgs/tools/misc/rename/default.nix
Ryan Mulligan 220618ef9c perlPackages: remove search.cpan.org; add metacpan.org default homepage
https://www.perl.com/article/saying-goodbye-to-search-cpan-org/

maybe one operation less

..with unifying recursiveUpdate and first //

although not tested

fix whitespace
2018-07-14 18:49:00 -07:00

19 lines
536 B
Nix

{ stdenv, fetchFromGitHub, buildPerlPackage }:
buildPerlPackage rec {
name = "rename-${version}";
version = "1.9";
outputs = [ "out" ];
src = fetchFromGitHub {
owner = "pstray";
repo = "rename";
rev = "d46f1d0ced25dc5849acb5d5974a3e2e9d97d536";
sha256 = "0qahs1cqfaci2hdf1xncrz4k0z5skkfr43apnm3kybs7za33apzw";
};
meta = with stdenv.lib; {
description = "Rename files according to a Perl rewrite expression";
maintainers = with maintainers; [ mkg ];
license = with licenses; [ gpl1Plus ];
};
}