2018-02-09 09:05:11 +01:00
|
|
|
{ stdenv, fetchFromGitHub, buildPerlPackage }:
|
|
|
|
|
|
|
|
buildPerlPackage rec {
|
|
|
|
name = "rename-${version}";
|
|
|
|
version = "1.9";
|
2018-03-09 18:26:25 +01:00
|
|
|
outputs = [ "out" ];
|
2018-02-09 09:05:11 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pstray";
|
|
|
|
repo = "rename";
|
|
|
|
rev = "d46f1d0ced25dc5849acb5d5974a3e2e9d97d536";
|
|
|
|
sha256 = "0qahs1cqfaci2hdf1xncrz4k0z5skkfr43apnm3kybs7za33apzw";
|
|
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Rename files according to a Perl rewrite expression";
|
|
|
|
homepage = http://search.cpan.org/~pederst/rename-1.9/bin/rename.PL;
|
|
|
|
maintainers = with maintainers; [ mkg ];
|
|
|
|
license = with licenses; [ gpl1Plus ];
|
|
|
|
};
|
|
|
|
}
|