aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-06 17:03:46 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:49 -0500
commit6a58b09280578d7bb22028314a5104c7467cf552 (patch)
tree364b08907a4b53df97c985f815796ed0eda3fd98 /gnu/packages
parent0a24e9b8878066b124733f787174f1c6dd40616d (diff)
downloadpatches-6a58b09280578d7bb22028314a5104c7467cf552.tar
patches-6a58b09280578d7bb22028314a5104c7467cf552.tar.gz
gnu: Add LWP-UserAgent-Determined.
* gnu/packages/web.scm (perl-lwp-useragent-determined): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/web.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 3a55fa67e5..6de626968a 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1956,6 +1956,29 @@ exists it is used instead.")
https schemed URLs with LWP.")
(license (package-license perl))))
+(define-public perl-lwp-useragent-determined
+ (package
+ (name "perl-lwp-useragent-determined")
+ (version "1.07")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
+ "LWP-UserAgent-Determined-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-libwww" ,perl-libwww)))
+ (home-page "http://search.cpan.org/dist/LWP-UserAgent-Determined")
+ (synopsis "Virtual browser that retries errors")
+ (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
+except that when you use it to get a web page but run into a
+possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
+and retry a few times.")
+ (license (package-license perl))))
+
(define-public perl-net-http
(package
(name "perl-net-http")