From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3UwZ-0001MY-3D for guix-patches@gnu.org; Sat, 14 Oct 2017 18:30:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3UwU-0002eO-QK for guix-patches@gnu.org; Sat, 14 Oct 2017 18:30:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60262) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e3UwU-0002e6-Mz for guix-patches@gnu.org; Sat, 14 Oct 2017 18:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e3UwU-0006C9-Fq for guix-patches@gnu.org; Sat, 14 Oct 2017 18:30:02 -0400 Subject: [bug#28841] [PATCH 22/24] gnu: Add java-guice-servlet. Resent-Message-ID: From: julien@lepiller.eu Date: Sun, 15 Oct 2017 00:23:47 +0200 Message-Id: <20171014222349.12902-22-julien@lepiller.eu> In-Reply-To: <20171014222349.12902-1-julien@lepiller.eu> References: <20171014233216.49c852f7@lepiller.eu> <20171014222349.12902-1-julien@lepiller.eu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28841@debbugs.gnu.org From: Julien Lepiller * 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