aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-17 14:25:49 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-19 16:43:30 -0500
commitc94c7eef118a73b5f7b7c12b9792f4e736b06e9d (patch)
tree3965000511f5002efbf3386ea28790954e1e4fb4
parentddc36cd8800e94057f48fbe7cca0cbdf7120e0ff (diff)
downloadguix-c94c7eef118a73b5f7b7c12b9792f4e736b06e9d.tar
guix-c94c7eef118a73b5f7b7c12b9792f4e736b06e9d.tar.gz
gnu: Add HTTP-Server-Simple.
* gnu/packages/web.scm (perl-http-server-simple): New variable.
-rw-r--r--gnu/packages/web.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index eaa56f5fb9..3d2eea606b 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1038,6 +1038,30 @@ fields in the request.")
environment from an HTTP::Request.")
(license (package-license perl))))
+(define-public perl-http-server-simple
+ (package
+ (name "perl-http-server-simple")
+ (version "0.44")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/J/JE/JESSE/"
+ "HTTP-Server-Simple-" version ".tar.gz"))
+ (sha256
+ (base32
+ "05klpfkss2a6i5ihmvcm27fyar0f2v4ispg2f49agab3va1gix6g"))))
+ (build-system perl-build-system)
+ (arguments
+ ;; See the discussion of a related tests issue at
+ ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
+ `(#:tests? #f))
+ (home-page "http://search.cpan.org/dist/HTTP-Server-Simple")
+ (synopsis "Lightweight HTTP server")
+ (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
+no non-core module dependencies. It can be used for building a standalone
+http-based UI to your existing tools.")
+ (license (package-license perl))))
+
(define-public perl-http-tiny
(package
(name "perl-http-tiny")