summary refs log tree commit diff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-10 15:34:49 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-11 15:48:06 -0500
commitc8a316a3b7c2ebeb10e4a9dc4a732b7ae19aafa0 (patch)
tree3198f6c5dfc7f316337dc8da53fadcf850a578fe /gnu/packages/web.scm
parentb79d8b1ff7d94e67fe49564f30c21d2d2fa1dc8b (diff)
downloadguix-c8a316a3b7c2ebeb10e4a9dc4a732b7ae19aafa0.tar.gz
gnu: Add HTTP-CookieJar.
* gnu/packages/web.scm (perl-http-cookiejar): New variable.
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index e245bc6cd9..f8eda6e4f1 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -615,6 +615,32 @@ are invoked.")
 kinds of HTML parsing operations.")
     (home-page "http://search.cpan.org/dist/HTML-Tagset/")))
 
+(define-public perl-http-cookiejar
+  (package
+    (name "perl-http-cookiejar")
+    (version "0.006")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
+                           "HTTP-CookieJar-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0c7l29ak6ba2j006ca00vnkxpyc1fvpikydjvsb24s50zf1mv7b2"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-deep" ,perl-test-deep)
+       ("perl-test-requires" ,perl-test-requires)
+       ("perl-time-mock" ,perl-time-mock)))
+    (inputs
+     `(("perl-time-local" ,perl-time-local)
+       ("perl-http-date" ,perl-http-date)))
+    (home-page "http://search.cpan.org/dist/HTTP-CookieJar")
+    (synopsis "Minimalist HTTP user agent cookie jar")
+    (description "This module implements a minimalist HTTP user agent cookie
+jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
+    (license l:asl2.0)))
+
 (define-public perl-http-cookies
   (package
     (name "perl-http-cookies")