From 770cf76dbdb7e6f934b6fed1750942c5c28e0cc8 Mon Sep 17 00:00:00 2001 From: volth Date: Sat, 7 Apr 2018 07:58:18 +0000 Subject: [PATCH] [cpan2nix] perlPackages.TestMagpie: 0.05 -> 0.11 dependencies: perlPackages.UNIVERSALref: init at 0.14 --- pkgs/top-level/perl-packages.nix | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 0c34d5b6656e..d265bc3f9f4e 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -15499,18 +15499,19 @@ let self = _self // overrides; _self = with self; { }; TestMagpie = buildPerlPackage { - name = "Test-Magpie-0.05"; + name = "Test-Magpie-0.11"; src = fetchurl { - url = mirror://cpan/authors/id/C/CY/CYCLES/Test-Magpie-0.05.tar.gz; - sha256 = "0a0c6vcj92spy6ngfdqn9yfym37jwxlds7hlw6xphkdmcklynh0b"; + url = mirror://cpan/authors/id/S/ST/STEVENL/Test-Magpie-0.11.tar.gz; + sha256 = "1c4iy35yg3fa9mrc4phmpz46fkihl6yic6a13fpcxyd3xafd5zhm"; }; - propagatedBuildInputs = [ aliased DevelPartialDump ListAllUtils Moose MooseXParamsValidate MooseXTypes MooseXTypesStructured namespaceautoclean SetObject SubExporter TestFatal ]; + propagatedBuildInputs = [ MooseXTypesStructured SetObject UNIVERSALref aliased ]; meta = { description = "Spy on objects to achieve test doubles (mock testing)"; license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; maintainers = with maintainers; [ ]; platforms = stdenv.lib.platforms.unix; }; + buildInputs = [ TestFatal Throwable ]; }; TestMinimumVersion = buildPerlPackage rec { @@ -16199,6 +16200,19 @@ let self = _self // overrides; _self = with self; { }; }; + UNIVERSALref = buildPerlPackage rec { + name = "UNIVERSAL-ref-0.14"; + src = fetchurl { + url = mirror://cpan/authors/id/J/JJ/JJORE/UNIVERSAL-ref-0.14.tar.gz; + sha256 = "1ar8dfj90nn52cb8c6yyj4bi6ya8hk2f2sl0a5q7pmchj321bn1m"; + }; + propagatedBuildInputs = [ BUtils ]; + meta = { + description = "Turns ref() into a multimethod"; + license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + UNIVERSALrequire = buildPerlPackage rec { name = "UNIVERSAL-require-0.18"; src = fetchurl {