gnu: Add java-picocli.

gnu/packages/java.scm (java-picocli): New variable.
This commit is contained in:
Julien Lepiller 2020-05-16 15:59:39 +02:00
parent 523cbfbd55
commit 8ba990e69d
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -11943,3 +11943,28 @@ (define-public java-jboss-transaction-api-spec
Isolation and Durability) properties.") Isolation and Durability) properties.")
;; either gpl2 only with classpath exception or cddl. ;; either gpl2 only with classpath exception or cddl.
(license (list license:gpl2 license:cddl1.0)))) (license (list license:gpl2 license:cddl1.0))))
(define-public java-picocli
(package
(name "java-picocli")
(version "4.3.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/remkop/picocli")
(commit (string-append "v" version))))
(sha256
(base32
"1sxp6rxjfgjd98ly14b3d15dvxkm5wg4g46w12jyhmr0kmkaca3c"))))
(build-system ant-build-system)
(arguments
`(#:jar-name "picocli.jar"
#:source-dir "src/main/java"
;; Tests require missing dependencies (junitparams, system-rules)
#:tests? #f))
(home-page "https://picocli.info")
(synopsis "REPL for the JVM")
(description "Picocli is a framework for building command line applications
for the JVM. It supports colors, autocompletion, subcommands, and more. Written
in Java, usable from Groovy, Kotlin, Scala, etc.")
(license license:asl2.0)))