From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCZEV-0005Qk-7d for guix-patches@gnu.org; Wed, 08 Nov 2017 17:54:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCZEU-0007lc-6F for guix-patches@gnu.org; Wed, 08 Nov 2017 17:54:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:50470) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eCZEU-0007lV-38 for guix-patches@gnu.org; Wed, 08 Nov 2017 17:54:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eCZET-0001vC-TI for guix-patches@gnu.org; Wed, 08 Nov 2017 17:54:05 -0500 Subject: [bug#29221] [PATCH 08/19] gnu: Add java-commons-collections. Resent-Message-ID: From: julien@lepiller.eu Date: Wed, 8 Nov 2017 23:51:29 +0100 Message-Id: <20171108225140.6587-8-julien@lepiller.eu> In-Reply-To: <20171108225140.6587-1-julien@lepiller.eu> References: <20171108231537.34a601cc@lepiller.eu> <20171108225140.6587-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: 29221@debbugs.gnu.org From: Julien Lepiller * gnu/packages/java.scm (java-commons-collections): New variable. --- gnu/packages/java.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index ed3bad9b4..48079bae0 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -2849,6 +2849,32 @@ are many features, including: @end itemize\n") (license license:asl2.0))) +(define-public java-commons-collections + (package + (inherit java-commons-collections4) + (name "java-commons-collections") + (version "3.2.2") + (source (origin + (method url-fetch) + (uri (string-append "mirror://apache/commons/collections/source/" + "commons-collections-" version "-src.tar.gz")) + (sha256 + (base32 + "055r51a5lfc3z7rkxnxmnn1npvkvda7636hjpm4qk7cnfzz98387")))) + (arguments + (substitute-keyword-arguments (package-arguments java-commons-collections4) + ((#:phases phases) + `(modify-phases ,phases + ;; The manifest is required by the build procedure + (add-before 'build 'add-manifest + (lambda _ + (mkdir-p "build/conf") + (call-with-output-file "build/conf/MANIFEST.MF" + (lambda (file) + (format file "Manifest-Version: 1.0\n"))))) + (replace 'install + (install-jars "build")))))))) + (define-public java-commons-io (package (name "java-commons-io") -- 2.15.0