perl.FileRename: init at 0.20
This commit is contained in:
parent
2e4aded366
commit
646abe9b29
24
pkgs/tools/filesystems/file-rename/default.nix
Normal file
24
pkgs/tools/filesystems/file-rename/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
@ -3212,6 +3212,8 @@ with pkgs;
|
||||
|
||||
npm2nix = nodePackages.npm2nix;
|
||||
|
||||
file-rename = callPackage ../tools/filesystems/file-rename { };
|
||||
|
||||
kea = callPackage ../tools/networking/kea {
|
||||
boost = boost165;
|
||||
};
|
||||
@ -15009,7 +15011,7 @@ with pkgs;
|
||||
inherit (gnome3) evince;
|
||||
evolution_data_server = gnome3.evolution_data_server;
|
||||
|
||||
keepass = callPackage ../applications/misc/keepass {
|
||||
keepass = callPackage ../applications/misc/keepass {
|
||||
buildDotnetPackage = buildDotnetPackage.override { mono = mono54; };
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user