From 500037bb4b4c392a1855270d508ecc866dc0bcbf Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 5 Jul 2012 12:13:01 -0400 Subject: [PATCH] Add perl-WWW-Curl --- pkgs/top-level/perl-packages.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index e761f6556d1e..bd998e5a67ff 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -3898,6 +3898,20 @@ rec { }; }; + WWWCurl = buildPerlPackage rec { + name = "WWW-Curl-4.15"; + src = fetchurl { + url = "mirror://cpan/modules/by-module/WWW/${name}.tar.gz"; + sha256 = "18az7k0jsr642lp6dfy0b2s7vx0cd7sj9dgk93wff73safa09x1y"; + }; + buildInputs = [ pkgs.curl ]; + preConfigure = + '' + substituteInPlace Makefile.PL --replace '"cpp"' '"gcc -E"' + ''; + doCheck = false; # performs network access + }; + WWWMechanize = buildPerlPackage rec { name = "WWW-Mechanize-1.54"; src = fetchurl {