summary refs log tree commit diff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2018-03-17 12:58:23 +0100
committerJulien Lepiller <julien@lepiller.eu>2018-06-16 13:17:39 +0200
commitf69a1d04a1bbcedcf55d3d8ac45e2d957311e9f5 (patch)
treee5b8a94206f29a693f2ee6e366f42fe3aa5bf0de
parentc099f6a716c035253816344ad24e364d14dc8ba0 (diff)
downloadguix-f69a1d04a1bbcedcf55d3d8ac45e2d957311e9f5.tar.gz
gnu: Add java-eclipse-jetty-xml.
* gnu/packages/web.scm (java-eclipse-jetty-xml): New variable.
-rw-r--r--gnu/packages/web.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index fe6aa5cdcb..a1e63130b9 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -6187,6 +6187,27 @@ container.")))
        ("server" ,java-eclipse-jetty-server-9.2)
        ,@(package-inputs java-eclipse-jetty-util-9.2)))))
 
+(define-public java-eclipse-jetty-xml
+  (package
+    (inherit java-eclipse-jetty-util)
+    (name "java-eclipse-jetty-xml")
+    (arguments
+     `(#:jar-name "eclipse-jetty-xml.jar"
+       #:source-dir "src/main/java"
+       #:jdk ,icedtea-8
+       #:tests? #f; most tests require network
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'chdir
+           (lambda _
+             (chdir "jetty-xml")
+             #t)))))
+    (inputs
+     `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
+    (native-inputs
+     `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
+       ,@(package-native-inputs java-eclipse-jetty-util)))))
+
 (define-public java-jsoup
   (package
     (name "java-jsoup")