From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3Uth-0000jT-Qm for guix-patches@gnu.org; Sat, 14 Oct 2017 18:27:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3Utg-0000JK-9R for guix-patches@gnu.org; Sat, 14 Oct 2017 18:27:09 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60253) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e3Utg-0000JG-66 for guix-patches@gnu.org; Sat, 14 Oct 2017 18:27:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e3Utf-00066Y-W2 for guix-patches@gnu.org; Sat, 14 Oct 2017 18:27:08 -0400 Subject: [bug#28841] [PATCH 20/24] gnu: Add java-javax-inject. Resent-Message-ID: From: julien@lepiller.eu Date: Sun, 15 Oct 2017 00:23:45 +0200 Message-Id: <20171014222349.12902-20-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-javax-inject): New variable. --- gnu/packages/java.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 6c8b4bebb..dc5e8e695 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6578,3 +6578,34 @@ container."))) software engineering people who are interested in Aspect-Oriented Programming (AOP) and Java.") (license license:public-domain))) + +(define-public java-javax-inject + (package + (name "java-javax-inject") + (version "tck-1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/javax-inject/javax-inject/" + "archive/javax.inject-" version ".tar.gz")) + (sha256 + (base32 + "1ydrlvh2r7vr1g7lhjwy3w2dggpj9h6pix1lakkkgdywb365n6g0")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "java-javax-inject.jar" + #:jdk ,icedtea-8 + #:tests? #f)); no tests + (home-page "http://github.com/javax-inject/javax-inject") + (synopsis "JSR-330: Dependency Injection for Java") + (description "This package specifies a means for obtaining objects in such +a way as to maximize reusability, testability and maintainability compared to +traditional approaches such as constructors, factories, and service locators +(e.g., JNDI). This process, known as dependency injection, is beneficial to +most nontrivial applications. + +Many types depend on other types. For example, a @var{Stopwatch} might depend +on a @var{TimeSource}. The types on which a type depends are known as its +dependencies. The process of finding an instance of a dependency to use at run +time is known as resolving the dependency. If no such instance can be found, +the dependency is said to be unsatisfied, and the application is broken.") + (license license:asl2.0))) -- 2.14.2