Subject: [bug#28841] [PATCH 22/24] gnu: Add java-guice-servlet.

From: [email-masked]
Date: Sun, 15 Oct 2017 00:23:47 +0200

From: Julien Lepiller <[email-masked]>

* gnu/packages/java.scm (java-guice-servlet): New variable.
---
 gnu/packages/java.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 9bc20f505..48b0a5eb9 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -6639,3 +6639,17 @@ the dependency is said to be unsatisfied, and the application is broken.")
     (description "Guice is a lightweight dependency injection framework fo
 Java 6 and above.")
     (license license:asl2.0)))
+
+(define-public java-guice-servlet
+  (package
+    (inherit java-guice)
+    (name "java-guice-servlet")
+    (arguments
+     `(#:jar-name "guice-servlet.jar"
+       #:source-dir "extensions/servlet/src/"
+       #:jdk ,icedtea-8
+       #:tests? #f)); FIXME: not in a java subdir
+    (inputs
+     `(("guice" ,java-guice)
+       ("servlet" ,java-tomcat)
+       ,@(package-inputs java-guice)))))
-- 
2.14.2