From f79c8df3e8f84c86391b9af55ddeca5736b14c84 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sat, 23 Jan 2016 19:01:39 +0100 Subject: [PATCH] perl-CGI: 4.21 -> 4.25 Also add license information and myself as maintainer. --- pkgs/top-level/perl-packages.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 70dbec444296..708935b31299 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -1415,17 +1415,19 @@ let self = _self // overrides; _self = with self; { }; }; - CGI = buildPerlPackage { - name = "CGI-4.21"; + "CGI" = buildPerlPackage rec { + name = "CGI-4.25"; src = fetchurl { - url = mirror://cpan/authors/id/L/LE/LEEJO/CGI-4.21.tar.gz; - sha256 = "340d20a2b67211752d7c270c589e463d71aea8b8d75d9417250618219d3cf884"; + url = "mirror://cpan/authors/id/L/LE/LEEJO/${name}.tar.gz"; + sha256 = "efb3e5235ada6a91f97ca2905399a686bedea60f6b525e52f4a147baff4f131a"; }; - propagatedBuildInputs = [ HTMLParser if_ ]; - doCheck = false; + buildInputs = [ TestDeep TestWarn ]; + propagatedBuildInputs = [ HTMLParser self."if" ]; meta = { homepage = https://metacpan.org/module/CGI; description = "Handle Common Gateway Interface requests and responses"; + license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; + maintainers = [ maintainers.rycee ]; }; };