aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-11 13:58:50 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-11 15:48:06 -0500
commit5933549dbd8c9c7857805bf457e4d80fcbe113e9 (patch)
treec28f14c92f5bc35c1491b6c9bb22c44dfc33f589 /gnu/packages/web.scm
parentbb8bfe5ec8c642133afb493a2bf907f4146d3f0a (diff)
downloadguix-5933549dbd8c9c7857805bf457e4d80fcbe113e9.tar
guix-5933549dbd8c9c7857805bf457e4d80fcbe113e9.tar.gz
gnu: Add Plack.
* gnu/packages/web.scm (perl-plack): New variable.
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 92ef27f72c..64fee1b135 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -949,6 +949,44 @@ is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
HTTP/1.1.")
(home-page "http://search.cpan.org/~gaas/Net-HTTP/")))
+(define-public perl-plack
+ (package
+ (name "perl-plack")
+ (version "1.0033")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
+ "Plack-" version ".tar.gz"))
+ (sha256
+ (base32
+ "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-requires" ,perl-test-requires)
+ ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
+ (propagated-inputs
+ `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
+ ("perl-devel-stacktrace" ,perl-devel-stacktrace)
+ ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
+ ("perl-file-sharedir" ,perl-file-sharedir)
+ ("perl-hash-multivalue" ,perl-hash-multivalue)
+ ("perl-http-body" ,perl-http-body)
+ ("perl-http-message" ,perl-http-message)
+ ("perl-http-tiny" ,perl-http-tiny)
+ ("perl-libwww" ,perl-libwww)
+ ("perl-stream-buffered" ,perl-stream-buffered)
+ ("perl-test-tcp" ,perl-test-tcp)
+ ("perl-try-tiny" ,perl-try-tiny)
+ ("perl-uri" ,perl-uri)))
+ (home-page "http://search.cpan.org/dist/Plack")
+ (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
+ (description "Plack is a set of tools for using the PSGI stack. It
+contains middleware components, a reference server, and utilities for Web
+application frameworks. Plack is like Ruby's Rack or Python's Paste for
+WSGI.")
+ (license (package-license perl))))
+
(define-public perl-test-tcp
(package
(name "perl-test-tcp")