aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-17 14:36:07 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-19 16:43:30 -0500
commit715a0c51bfbe44dd433f90ad103f816dd5b9cb8e (patch)
tree50d82d833a7d13b366dc14ec3621f44f72244017 /gnu/packages
parent0d991d2cedf86c9d84a7d5ad4defe08b8041f0e4 (diff)
downloadguix-715a0c51bfbe44dd433f90ad103f816dd5b9cb8e.tar
guix-715a0c51bfbe44dd433f90ad103f816dd5b9cb8e.tar.gz
gnu: Add Test-WWW-Mechanize-PSGI.
* gnu/packages/web.scm (perl-test-www-mechanize-psgi): New variable.
Diffstat (limited to 'gnu/packages')
-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 84cb0d1e69..430fc38714 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1458,6 +1458,33 @@ either mocked HTTP or a locally spawned server.")
WWW::Mechanize that incorporates features for web application testing.")
(license l:artistic2.0)))
+(define-public perl-test-www-mechanize-psgi
+ (package
+ (name "perl-test-www-mechanize-psgi")
+ (version "0.35")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/L/LB/LBROCARD/"
+ "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1hih8s49zf38bisvhnhzrrj0zwyiivkrbs7nmmdqm1qqy27wv7pc"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-pod" ,perl-test-pod)))
+ (propagated-inputs
+ `(("perl-plack" ,perl-plack)
+ ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
+ (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI")
+ (synopsis "Test PSGI programs using WWW::Mechanize")
+ (description "PSGI is a specification to decouple web server environments
+from web application framework code. Test::WWW::Mechanize is a subclass of
+WWW::Mechanize that incorporates features for web application testing. The
+Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
+applications.")
+ (license (package-license perl))))
+
(define-public perl-uri
(package
(name "perl-uri")