diff options
author | volth <volth@volth.com> | 2019-06-20 13:07:56 +0000 |
---|---|---|
committer | volth <volth@volth.com> | 2019-06-20 15:56:50 +0000 |
commit | b3cc65f8b9b1c0e40c76af4293f6a1aa30cde96a (patch) | |
tree | 9c65cca35dd3cfe83d8b3daf37b67e6197b64a33 /pkgs/tools/filesystems/file-rename | |
parent | ffd9bf7e2929ec94ee3f8f3ec7b0d889eec302b4 (diff) |
buildPerlPackage: name -> (pname, version)
Diffstat (limited to 'pkgs/tools/filesystems/file-rename')
-rw-r--r-- | pkgs/tools/filesystems/file-rename/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/filesystems/file-rename/default.nix b/pkgs/tools/filesystems/file-rename/default.nix index 8dc4ec534a2b8..8eeb052b22f02 100644 --- a/pkgs/tools/filesystems/file-rename/default.nix +++ b/pkgs/tools/filesystems/file-rename/default.nix @@ -1,10 +1,11 @@ { stdenv, fetchurl, perlPackages, makeWrapper }: -perlPackages.buildPerlPackage rec { - name = "File-Rename-0.20"; +perlPackages.buildPerlPackage { + pname = "File-Rename"; + version = "0.20"; src = fetchurl { - url = "mirror://cpan/authors/id/R/RM/RMBARKER/${name}.tar.gz"; + url = mirror://cpan/authors/id/R/RM/RMBARKER/File-Rename-0.20.tar.gz; sha256 = "1cf6xx2hiy1xalp35fh8g73j67r0w0g66jpcbc6971x9jbm7bvjy"; }; |