[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/22: gnu: Add java-commons-cli.
From: |
Ricardo Wurmus |
Subject: |
18/22: gnu: Add java-commons-cli. |
Date: |
Wed, 10 May 2017 11:59:41 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 1c188f4e18a8e1fa7c5afa4f921e2aa1956b6285
Author: Hartmut Goebel <address@hidden>
Date: Fri Sep 9 16:51:06 2016 +0200
gnu: Add java-commons-cli.
* gnu/packages/java.scm (java-commons-cli): New variable.
Co-authored-by: Ricardo Wurmus <address@hidden>
---
gnu/packages/java.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 0182016..54cba92 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1775,3 +1775,40 @@ in the @code{java.lang} package. The following classes
are included:
@code{hashCode}, @code{compareTo} and @code{toString} methods.
@end itemize\n")
(license license:asl2.0)))
+
+(define-public java-commons-cli
+ (package
+ (name "java-commons-cli")
+ (version "1.3.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://apache/commons/cli/source/"
+ "commons-cli-" version "-src.tar.gz"))
+ (sha256
+ (base32
+ "1fkjn552i12vp3xxk21ws4p70fi0lyjm004vzxsdaz7gdpgyxxyl"))))
+ (build-system ant-build-system)
+ ;; TODO: javadoc
+ (arguments
+ `(#:jar-name "commons-cli.jar"))
+ (native-inputs
+ `(("java-junit" ,java-junit)
+ ("java-hamcrest-core" ,java-hamcrest-core)))
+ (home-page "http://commons.apache.org/cli/")
+ (synopsis "Command line arguments and options parsing library")
+ (description "The Apache Commons CLI library provides an API for parsing
+command line options passed to programs. It is also able to print help
+messages detailing the options available for a command line tool.
+
+Commons CLI supports different types of options:
+
address@hidden
address@hidden POSIX like options (ie. tar -zxvf foo.tar.gz)
address@hidden GNU like long options (ie. du --human-readable --max-depth=1)
address@hidden Java like properties (ie. java -Djava.awt.headless=true Foo)
address@hidden Short options with value attached (ie. gcc -O2 foo.c)
address@hidden long options with single hyphen (ie. ant -projecthelp)
address@hidden itemize
+
+This is a part of the Apache Commons Project.")
+ (license license:asl2.0)))
- 21/22: gnu: Add java-jmock-1., (continued)
- 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, 2017/05/10
- 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 <=
- 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