From d22d72fc50ee16bcb945382c2d2797ef45bdfbbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 28 Sep 2014 00:52:05 +0200 Subject: gnu: Add perl-www-curl. * gnu/packages/web.scm (perl-www-curl): New variable. --- gnu/packages/web.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 57eb89adfc..86e250126f 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -34,6 +34,7 @@ #:use-module (gnu packages openssl) #:use-module (gnu packages pcre) #:use-module (gnu packages xml) + #:use-module (gnu packages curl) #:use-module (gnu packages perl)) (define-public httpd @@ -547,3 +548,26 @@ solution for use cases such as embedded deployments where a full featured HTTP proxy is required, but the system resources for a larger proxy are unavailable.") (license l:gpl2+))) + +(define-public perl-www-curl + (package + (name "perl-www-curl") + (version "4.17") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-" + version".tar.gz")) + (sha256 + (base32 + "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj")))) + (build-system perl-build-system) + (arguments + '(#:tests? #f)) ;XXX: tests require network access + (inputs `(("curl" ,curl))) + (synopsis "Perl extension interface for libcurl") + (description + "This is a Perl extension interface for the libcurl file downloading +library.") + (license (package-license perl)) + (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm"))) -- cgit v1.2.3