From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzqSc-0005FF-Fc for guix-patches@gnu.org; Wed, 04 Oct 2017 16:40:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzqSX-0004eB-UF for guix-patches@gnu.org; Wed, 04 Oct 2017 16:40:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40675) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dzqSX-0004db-RP for guix-patches@gnu.org; Wed, 04 Oct 2017 16:40:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dzqSX-0006Ch-Jb for guix-patches@gnu.org; Wed, 04 Oct 2017 16:40:01 -0400 Subject: [bug#28707] [PATCH 01/23] gnu: Add java-ops4j-base-lang. Resent-Message-ID: From: julien@lepiller.eu Date: Wed, 4 Oct 2017 22:37:13 +0200 Message-Id: <20171004203735.21155-1-julien@lepiller.eu> In-Reply-To: <20171004223317.2e824152@lepiller.eu> References: <20171004223317.2e824152@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: 28707@debbugs.gnu.org From: Julien Lepiller * gnu/packages/java.scm (java-ops4j-base-lang): New variable. --- gnu/packages/java.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 4418b67ea..f1325be4e 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -5280,3 +5280,38 @@ utility classes for the configuration of services.") and service platform for the Java programming language. This package contains the packageadmin service.") (license license:asl2.0))) + +(define-public java-ops4j-base-lang + (package + (name "java-ops4j-base-lang") + (version "1.5.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/ops4j/org.ops4j.base/" + "archive/base-" version ".tar.gz")) + (sha256 + (base32 + "18hl3lpchgpv8yh5rlk39l2gif5dlfgb8gxjmncf39pr2dprkniw")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "java-ops4j-base-lang.jar" + #:source-dir "ops4j-base-lang/src/main/java" + #:tests? #f; no tests + #:phases + (modify-phases %standard-phases + (add-before 'build 'add-test-file + (lambda _ + ;; That file is required by a test in ops4j-pax-exam-core-spi + (mkdir-p "build/classes/META-INF/maven/org.ops4j.base/ops4j-base-lang") + (with-output-to-file "build/classes/META-INF/maven/org.ops4j.base/ops4j-base-lang/pom.properties" + (lambda _ + (display + (string-append + "version=" ,version "\n" + "groupId=org.ops4j.base" + "artifactId=ops4j-base-lang\n"))))))))) + (home-page "https://ops4j1.jira.com/wiki/spaces/base/overview") + (synopsis "Utility classes and extensions to be used in OPS4J projects") + (description "OPS4J stands for Open Participation Software for Java. This +package contains utilities and extensions related to @code{java.lang}.") + (license license:asl2.0))) -- 2.14.2