diff options
author | Julien Lepiller <julien@lepiller.eu> | 2017-11-05 13:33:40 +0100 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2017-11-18 11:29:51 +0100 |
commit | 229a9864b683650b91ddac0fb6d62110f1519588 (patch) | |
tree | 1a4764220191bf1128cc067ddbf65693459b3866 | |
parent | 51263ff5d28b873b24e369161e7ecff01236f358 (diff) | |
download | patches-229a9864b683650b91ddac0fb6d62110f1519588.tar patches-229a9864b683650b91ddac0fb6d62110f1519588.tar.gz |
gnu: Add java-commons-collections.
* gnu/packages/java.scm (java-commons-collections): New variable.
-rw-r--r-- | gnu/packages/java.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 967cf39c07..0b753438d3 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") |