aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-17 14:32:19 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-19 16:43:30 -0500
commit0b1ed7258e5f29c77f1e42f318351ae974962ec3 (patch)
treebebe5d128223410f2004bdb18b8d259a8ef98de6 /gnu
parentc94c7eef118a73b5f7b7c12b9792f4e736b06e9d (diff)
downloadpatches-0b1ed7258e5f29c77f1e42f318351ae974962ec3.tar
patches-0b1ed7258e5f29c77f1e42f318351ae974962ec3.tar.gz
gnu: Add WWW-Mechanize.
* gnu/packages/web.scm (perl-www-mechanize): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/web.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 3d2eea606b..49ce2dc661 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1515,6 +1515,33 @@ library.")
(license (package-license perl))
(home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
+(define-public perl-www-mechanize
+ (package
+ (name "perl-www-mechanize")
+ (version "1.73")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
+ "WWW-Mechanize-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1zrw8aadhwy48q51x2z2rqlkwf17bya4j4h3hy89mw783j96rmg9"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-html-form" ,perl-html-form)
+ ("perl-html-parser" ,perl-html-parser)
+ ("perl-http-message" ,perl-http-message)
+ ("perl-http-server-simple" ,perl-http-server-simple)
+ ("perl-libwww" ,perl-libwww)
+ ("perl-test-warn" ,perl-test-warn)
+ ("perl-uri" ,perl-uri)))
+ (home-page "http://search.cpan.org/dist/WWW-Mechanize")
+ (synopsis "Web browsing in a Perl object")
+ (description "WWW::Mechanize is a Perl module for stateful programmatic
+web browsing, used for automating interaction with websites.")
+ (license (package-license perl))))
+
(define-public perl-www-robotrules
(package
(name "perl-www-robotrules")