gnu: Add java-guice-servlet.

* gnu/packages/java.scm (java-guice-servlet): New variable.
This commit is contained in:
Julien Lepiller 2017-10-14 23:12:34 +02:00
parent 5766984b06
commit ec4e8ad724
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 14 additions and 0 deletions

View File

@ -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 (description "Guice is a lightweight dependency injection framework fo
Java 6 and above.") Java 6 and above.")
(license license:asl2.0))) (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)))))