aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-10-14 23:12:34 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-10-23 22:55:21 +0200
commitec4e8ad724084a8ba3b62f77821367ff89eeff6d (patch)
tree44a1249da79a41ed1c28780f40cb57c73472abde /gnu/packages/java.scm
parent5766984b06a425914dcce9d04e98220ae10ef817 (diff)
downloadpatches-ec4e8ad724084a8ba3b62f77821367ff89eeff6d.tar
patches-ec4e8ad724084a8ba3b62f77821367ff89eeff6d.tar.gz
gnu: Add java-guice-servlet.
* gnu/packages/java.scm (java-guice-servlet): New variable.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index ad7710f036..38fc68681a 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -6151,3 +6151,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)))))