diff options
Diffstat (limited to 'pkgs/tools/filesystems/file-rename/default.nix')
-rw-r--r-- | pkgs/tools/filesystems/file-rename/default.nix | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/pkgs/tools/filesystems/file-rename/default.nix b/pkgs/tools/filesystems/file-rename/default.nix deleted file mode 100644 index 8bc7a899cd3b..000000000000 --- a/pkgs/tools/filesystems/file-rename/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib, stdenv, fetchurl, perl, perlPackages }: - -perlPackages.buildPerlPackage { - pname = "File-Rename"; - version = "0.20"; - - src = fetchurl { - url = "mirror://cpan/authors/id/R/RM/RMBARKER/File-Rename-0.20.tar.gz"; - sha256 = "1cf6xx2hiy1xalp35fh8g73j67r0w0g66jpcbc6971x9jbm7bvjy"; - }; - - # Fix an incorrect platform test that misidentifies Darwin as Windows - postPatch = '' - substituteInPlace Makefile.PL \ - --replace '/win/i' '/MSWin32/' - ''; - - postFixup = '' - substituteInPlace $out/bin/rename \ - --replace "#!${perl}/bin/perl" "#!${perl}/bin/perl -I $out/${perl.libPrefix}" - ''; - - doCheck = !stdenv.isDarwin; - - meta = with lib; { - description = "Perl extension for renaming multiple files"; - license = licenses.artistic1; - maintainers = with maintainers; [ peterhoeg ]; - mainProgram = "rename"; - }; -} |