mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
25 lines
660 B
Nix
25 lines
660 B
Nix
{ stdenv, fetchurl, perlPackages, makeWrapper }:
|
|
|
|
perlPackages.buildPerlPackage rec {
|
|
name = "File-Rename-0.20";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://cpan/authors/id/R/RM/RMBARKER/${name}.tar.gz";
|
|
sha256 = "1cf6xx2hiy1xalp35fh8g73j67r0w0g66jpcbc6971x9jbm7bvjy";
|
|
};
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/rename \
|
|
--prefix PERL5LIB : $out/lib/perl5/site_perl
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Perl extension for renaming multiple files";
|
|
homepage = http://search.cpan.org/~rmbarker;
|
|
license = licenses.artistic1;
|
|
maintainer = with maintainers; [ peterhoeg ];
|
|
};
|
|
}
|