[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/22: gnu: Add java-commons-io.
From: |
Ricardo Wurmus |
Subject: |
15/22: gnu: Add java-commons-io. |
Date: |
Wed, 10 May 2017 11:59:40 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 6af63e657c43cb57d2ee85a61bdb55962e82e907
Author: Hartmut Goebel <address@hidden>
Date: Fri Sep 9 16:51:09 2016 +0200
gnu: Add java-commons-io.
* gnu/packages/java.scm (java-commons-io): New variable.
Co-authored-by: Ricardo Wurmus <address@hidden>
---
gnu/packages/java.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index c6fa134..035bd1a 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1623,3 +1623,37 @@ are many features, including:
such as union, intersection, and closure.
@end itemize\n")
(license license:asl2.0)))
+
+(define-public java-commons-io
+ (package
+ (name "java-commons-io")
+ (version "2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://apache/commons/io/source/"
+ "commons-io-" version "-src.tar.gz"))
+ (sha256
+ (base32
+ "0q5y41jrcjvx9hzs47x5kdhnasdy6rm4bzqd2jxl02w717m7a7v3"))))
+ (build-system ant-build-system)
+ (outputs '("out" "doc"))
+ (arguments
+ `(#:test-target "test"
+ #:make-flags
+ (list (string-append "-Djunit.jar="
+ (assoc-ref %build-inputs "java-junit")
+ "/share/java/junit.jar"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'build 'build-javadoc ant-build-javadoc)
+ (replace 'install (install-jars "target"))
+ (add-after 'install 'install-doc (install-javadoc
"target/apidocs")))))
+ (native-inputs
+ `(("java-junit" ,java-junit)
+ ("java-hamcrest-core" ,java-hamcrest-core)))
+ (home-page "http://commons.apache.org/io/")
+ (synopsis "Common useful IO related classes")
+ (description "Commons-IO contains utility classes, stream implementations,
+file filters and endian classes.")
+ (license license:asl2.0)))
- 10/22: gnu: Add java-jopt-simple., (continued)
- 10/22: gnu: Add java-jopt-simple., Ricardo Wurmus, 2017/05/10
- 12/22: gnu: Add java-commons-math3., Ricardo Wurmus, 2017/05/10
- 20/22: gnu: Add java-commons-daemon., Ricardo Wurmus, 2017/05/10
- 08/22: gnu: Add java-objenesis., Ricardo Wurmus, 2017/05/10
- 06/22: gnu: Add java-asm., Ricardo Wurmus, 2017/05/10
- 21/22: gnu: Add java-jmock-1., Ricardo Wurmus, 2017/05/10
- 04/22: gnu: Add java-plexus-utils., Ricardo Wurmus, 2017/05/10
- 05/22: gnu: Add java-plexus-interpolation., Ricardo Wurmus, 2017/05/10
- 02/22: ant-build-system: Add default "check" target., Ricardo Wurmus, 2017/05/10
- 13/22: gnu: Add java-jmh., Ricardo Wurmus, 2017/05/10
- 15/22: gnu: Add java-commons-io.,
Ricardo Wurmus <=
- 16/22: gnu: Add java-commons-lang., Ricardo Wurmus, 2017/05/10
- 19/22: gnu: Add java-commons-codec., Ricardo Wurmus, 2017/05/10
- 09/22: gnu: Add java-easymock., Ricardo Wurmus, 2017/05/10
- 11/22: gnu: java-hamcrest-core: Install all jars without version suffix., Ricardo Wurmus, 2017/05/10
- 18/22: gnu: Add java-commons-cli., Ricardo Wurmus, 2017/05/10
- 14/22: gnu: Add java-commons-collections4., Ricardo Wurmus, 2017/05/10
- 03/22: guix: Add java-utils., Ricardo Wurmus, 2017/05/10
- 22/22: gnu: java-hamcrest-core: Declare test target., Ricardo Wurmus, 2017/05/10
- 17/22: gnu: Add java-commons-lang3., Ricardo Wurmus, 2017/05/10