aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-10-14 22:35:49 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-10-23 22:54:40 +0200
commitb510b7f58f27e6bc635e14816cd404fd507e7dc1 (patch)
tree682a8c77e9950f475388719216e3d097256cddb2 /gnu
parent5010671d4d58ff9f7cf8d2d5451f8bff636ede0d (diff)
downloadguix-b510b7f58f27e6bc635e14816cd404fd507e7dc1.tar
guix-b510b7f58f27e6bc635e14816cd404fd507e7dc1.tar.gz
gnu: Add java-eclipse-jetty-io.
* gnu/packages/web.scm (java-eclipse-jetty-io): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/web.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index dfe02a68f3..912ff4e976 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5595,3 +5595,29 @@ or embedded instantiation. This package provides utility classes.")
(("testdir.getFile\\(name\\)")
"testdir.getPathFile(name).toFile()")))
#t)))))))
+
+(define-public java-eclipse-jetty-io
+ (package
+ (inherit java-eclipse-jetty-util)
+ (name "java-eclipse-jetty-io")
+ (arguments
+ `(#:jar-name "eclipse-jetty-io.jar"
+ #:source-dir "src/main/java"
+ #:jdk ,icedtea-8
+ #:test-exclude (list "**/Abstract*.java"
+ ;; Abstract class
+ "**/EndPointTest.java")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'chdir
+ (lambda _
+ (chdir "jetty-io")
+ #t)))))
+ (inputs
+ `(("slf4j" ,java-slf4j-api)
+ ("servlet" ,java-tomcat)
+ ("util" ,java-eclipse-jetty-util)))
+ (synopsis "Jetty :: IO Utility")
+ (description "The Jetty Web Server provides an HTTP server and Servlet
+container capable of serving static and dynamic content either from a standalone
+or embedded instantiation. This package provides IO-related utility classes.")))