diff options
author | Julien Lepiller <julien@lepiller.eu> | 2017-10-24 22:04:14 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2017-11-02 13:06:19 +0100 |
commit | a6dd06d0e2297c4eabbfcb5461ee6560cd0b2f95 (patch) | |
tree | 7b1073111fcad90b3e09c9764aed4bb66430461e /gnu/packages | |
parent | 2524a2a17a97fc72095e702401760fcbca6a95f7 (diff) | |
download | guix-a6dd06d0e2297c4eabbfcb5461ee6560cd0b2f95.tar.gz |
gnu: Add java-jcommander.
* gnu/packages/java.scm (java-jcommander): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/java.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 1fcd237d55..5263dcc430 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6248,3 +6248,28 @@ manipulation simple. It is a class library for editing bytecodes in Java; it enables Java programs to define a new class at runtime and to modify a class file when the JVM loads it.") (license (list license:gpl2 license:cddl1.0)))); either gpl2 only or cddl. + +(define-public java-jcommander + (package + (name "java-jcommander") + (version "1.71") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/cbeust/jcommander/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1f5k2ckay6qjc3d3w3d7bc0p3cx3c7n6p6zxvw1kibqdr0q98wlx")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "java-jcommander.jar" + #:jdk ,icedtea-8 + #:tests? #f; requires testng which depends on jcommander + #:source-dir "src/main/java")) + (home-page "http://jcommander.org") + (synopsis "Command line parameters parser") + (description "JCommander is a very small Java framework that makes it +trivial to parse command line parameters. Parameters are declared with +annotations.") + (license license:asl2.0))) |