[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#29221] [PATCH 08/19] gnu: Add java-commons-collections.
From: |
julien |
Subject: |
[bug#29221] [PATCH 08/19] gnu: Add java-commons-collections. |
Date: |
Wed, 8 Nov 2017 23:51:29 +0100 |
From: Julien Lepiller <address@hidden>
* 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
- [bug#29221] [PATCH] java packages, Julien Lepiller, 2017/11/08
- [bug#29221] [PATCH 01/19] gnu: Add bitshuffle., julien, 2017/11/08
- [bug#29221] [PATCH 04/19] licenses: Add cddl1.1., julien, 2017/11/08
- [bug#29221] [PATCH 04/19] licenses: Add cddl1.1., Ludovic Courtès, 2017/11/09
- [bug#29221] [PATCH 04/19] licenses: Add cddl1.1., Julien Lepiller, 2017/11/16
- [bug#29221] [PATCH 04/19] licenses: Add cddl1.1., Tobias Geerinckx-Rice, 2017/11/16
- [bug#29221] [PATCH 04/19] licenses: Add cddl1.1., Julien Lepiller, 2017/11/16
- [bug#29221] [PATCH 04/19] licenses: Add cddl1.1., Ludovic Courtès, 2017/11/17
[bug#29221] [PATCH 08/19] gnu: Add java-commons-collections.,
julien <=
[bug#29221] [PATCH 02/19] gnu: Add java-snappy., julien, 2017/11/08
[bug#29221] [PATCH 06/19] gnu: Add java-jeromq., julien, 2017/11/08
[bug#29221] [PATCH 09/19] gnu: Add java-commons-beanutils., julien, 2017/11/08
[bug#29221] [PATCH 05/19] gnu: Add java-mail., julien, 2017/11/08
[bug#29221] [PATCH 11/19] gnu: Add java-log4j-core., julien, 2017/11/08
[bug#29221] [PATCH 07/19] gnu: Add java-commons-csv., julien, 2017/11/08
[bug#29221] [PATCH 03/19] gnu: Add java-iq80-snappy., julien, 2017/11/08
[bug#29221] [PATCH 12/19] gnu: Add java-log4j-1.2-api., julien, 2017/11/08