diff options
-rw-r--r-- | pkgs/development/perl-modules/BerkeleyDB/default.nix | 10 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/perl-modules/BerkeleyDB/default.nix b/pkgs/development/perl-modules/BerkeleyDB/default.nix index 59826ee8a445c..a6309d028e8c9 100644 --- a/pkgs/development/perl-modules/BerkeleyDB/default.nix +++ b/pkgs/development/perl-modules/BerkeleyDB/default.nix @@ -1,11 +1,11 @@ -{fetchurl, perl, db4}: +{buildPerlPackage, fetchurl, db4}: -import ../generic perl { - name = "BerkeleyDB-0.27"; +buildPerlPackage rec { + name = "BerkeleyDB-0.36"; src = fetchurl { - url = http://nixos.org/tarballs/BerkeleyDB-0.27.tar.gz; - md5 = "43aa72c0c6941af0d656d749ad543e96"; + url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz"; + sha256 = "07xf50riarb60l1h6m2dqmql8q5dij619712fsgw7ach04d8g3z1"; }; preConfigure = '' diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c27ab8aad1f97..9e1506661e21d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4156,7 +4156,7 @@ let }; perlBerkeleyDB = import ../development/perl-modules/BerkeleyDB { - inherit fetchurl perl db4; + inherit buildPerlPackage fetchurl db4; }; perlBitVector = buildPerlPackage { |