diff options
author | Eric Bavier <bavier@member.fsf.org> | 2019-12-07 21:44:48 -0600 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2020-01-17 23:11:08 -0600 |
commit | 32dad069b0c7e08d9908d2f62db90d72293b3de1 (patch) | |
tree | c7230daabb16da52851a9f709c154ce4a999d06f | |
parent | 54775af942560094ef5e046abacfb5a5ad4f8e62 (diff) | |
download | patches-32dad069b0c7e08d9908d2f62db90d72293b3de1.tar patches-32dad069b0c7e08d9908d2f62db90d72293b3de1.tar.gz |
gnu: Add perl-lwp-useragent-cached.
* gnu/packages/web.scm (perl-lwp-useragent-cached): New variable.
-rw-r--r-- | gnu/packages/web.scm | 22 |
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") |