summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-10-14 23:00:30 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-10-23 22:55:09 +0200
commit213bb981801f5c001d1066852e855dff253ab008 (patch)
treed9857f777d2b6c9d4196495e56494a648efe2610 /gnu
parentfb680f88e903c95860ab1dc63c1aa764ddb553cc (diff)
downloadguix-213bb981801f5c001d1066852e855dff253ab008.tar.gz
gnu: Add java-eclipse-jetty-servlet-9.2.
* gnu/packages/web.scm (java-eclipse-jetty-servlet-9.2): 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 dad971fa9d..0e6b95e599 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5875,3 +5875,29 @@ infrastructure")))
 container capable of serving static and dynamic content either from a standalone
 or embedded instantiation.  This package provides the core jetty servlet
 container.")))
+
+(define-public java-eclipse-jetty-servlet-9.2
+  (package
+    (inherit java-eclipse-jetty-servlet)
+    (version (package-version java-eclipse-jetty-util-9.2))
+    (source (package-source java-eclipse-jetty-util-9.2))
+    (arguments
+     `(#:jar-name "eclipse-jetty-servlet.jar"
+       #:source-dir "src/main/java"
+       #:jdk ,icedtea-8
+       #:tests? #f; doesn't work
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'chdir
+           (lambda _
+             (chdir "jetty-servlet")
+             #t)))))
+    (inputs
+     `(("util" ,java-eclipse-jetty-util-9.2)
+       ("jmx" ,java-eclipse-jetty-jmx-9.2)
+       ("io" ,java-eclipse-jetty-io-9.2)
+       ("http" ,java-eclipse-jetty-http-9.2)
+       ("security" ,java-eclipse-jetty-security-9.2)
+       ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
+       ("server" ,java-eclipse-jetty-server-9.2)
+       ,@(package-inputs java-eclipse-jetty-util-9.2)))))