aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2019-12-07 21:44:48 -0600
committerEric Bavier <bavier@member.fsf.org>2020-01-17 23:11:08 -0600
commit32dad069b0c7e08d9908d2f62db90d72293b3de1 (patch)
treec7230daabb16da52851a9f709c154ce4a999d06f /gnu/packages
parent54775af942560094ef5e046abacfb5a5ad4f8e62 (diff)
downloadguix-32dad069b0c7e08d9908d2f62db90d72293b3de1.tar.gz
guix-32dad069b0c7e08d9908d2f62db90d72293b3de1.zip
gnu: Add perl-lwp-useragent-cached.
* gnu/packages/web.scm (perl-lwp-useragent-cached): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/web.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 904db3828b..b2d282710a 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -3486,6 +3486,28 @@ exists it is used instead.")
https schemed URLs with LWP.")
(license license:perl-license)))
+(define-public perl-lwp-useragent-cached
+ (package
+ (name "perl-lwp-useragent-cached")
+ (version "0.08")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/O/OL/OLEG/"
+ "LWP-UserAgent-Cached-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1hw7wy7f82kl61xjwkgmhv1ixgg56dhgfr45wxn6ahc0qys5mkix"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-libwww" ,perl-libwww)))
+ (home-page "https://metacpan.org/release/LWP-UserAgent-Cached")
+ (synopsis "Simple caching for LWP::UserAgent")
+ (description "LWP::UserAgent::Cached is an LWP::UserAgent subclass with
+cache support. It returns responses from the local filesystem if available
+instead of making an HTTP request.")
+ (license license:perl-license)))
+
(define-public perl-lwp-useragent-determined
(package
(name "perl-lwp-useragent-determined")