aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-12 12:59:30 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-12 15:55:58 -0500
commit64b16bf7927482e853d15548003ccfb86caf973f (patch)
treeed42330a8acdae78b1ea0e6d719506c4275cc67e
parentca157ba9b8dfecff764e08fef5c04ec4a399e1cf (diff)
downloadpatches-64b16bf7927482e853d15548003ccfb86caf973f.tar
patches-64b16bf7927482e853d15548003ccfb86caf973f.tar.gz
gnu: Add Plack-Test-ExternalServer.
* gnu/packages/web.scm (perl-plack-test-externalserver): New variable.
-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 82d768e630..aecdd21950 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1192,6 +1192,28 @@ which are changed by reverse-proxy. You can specify the reverse proxy address
and stop fake requests using 'enable_if' directive in your app.psgi.")
(license (package-license perl))))
+(define-public perl-plack-test-externalserver
+ (package
+ (name "perl-plack-test-externalserver")
+ (version "0.01")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
+ "Plack-Test-ExternalServer-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-plack" ,perl-plack)))
+ (home-page "http://search.cpan.org/dist/Plack-Test-ExternalServer")
+ (synopsis "Run HTTP tests on external live servers")
+ (description "This module allows your to run your Plack::Test tests
+against an external server instead of just against a local application through
+either mocked HTTP or a locally spawned server.")
+ (license (package-license perl))))
+
(define-public perl-test-tcp
(package
(name "perl-test-tcp")