diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 629cdcae60e..83e779b40bb 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -2217,6 +2217,31 @@ let self = _self // overrides; _self = with self; { }; }; + CloneChoose = buildPerlPackage rec { + name = "Clone-Choose-0.008"; + src = fetchurl { + url = mirror://cpan/authors/id/H/HE/HERMES/Clone-Choose-0.008.tar.gz; + sha256 = "0grf0bg1ldzqakaq7aaigjngwd07zybrlmwjcnb0q986q0jcfank"; + }; + buildInputs = [ Clone ClonePP ]; + meta = { + description = "Choose appropriate clone utility"; + license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://metacpan.org/release/Clone-Choose"; + }; + }; + + ClonePP = buildPerlPackage rec { + name = "Clone-PP-1.07"; + src = fetchurl { + url = mirror://cpan/authors/id/N/NE/NEILB/Clone-PP-1.07.tar.gz; + sha256 = "15dkhqvih6rx9dnngfwwljcm9s8afb0nbyl2vdvhd8frnw4y31dz"; + }; + meta = { + license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + # For backwards compatibility. CommonSense = self.commonsense; @@ -6464,15 +6489,16 @@ let self = _self // overrides; _self = with self; { }; HashMerge = buildPerlPackage rec { - name = "Hash-Merge-0.200"; + name = "Hash-Merge-0.300"; src = fetchurl { url = "mirror://cpan/authors/id/R/RE/REHSACK/${name}.tar.gz"; - sha256 = "0r1a2axz85wn6573zrl9rk8mkfl2cvf1gp9vwya5qndp60rz1ya7"; + sha256 = "0h3wfnpv5d4d3f9xzmwkchay6251nhzngdv3f6xia56mj4hxabs0"; }; - propagatedBuildInputs = [ Clone ]; + propagatedBuildInputs = [ CloneChoose ]; meta = { description = "Merges arbitrarily deep hashes into a single hash"; }; + buildInputs = [ Clone ClonePP ]; }; HashMergeSimple = buildPerlPackage {