GNU bug report logs - #26803
Java things

Previous Next

Package: guix-patches;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Sat, 6 May 2017 14:02:02 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Roel Janssen <roel <at> gnu.org>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 26803 <at> debbugs.gnu.org
Subject: bug#26803: [PATCH 10/36] gnu: Add java-jopt-simple.
Date: Sat, 06 May 2017 23:31:21 +0200
Ricardo Wurmus writes:

> * gnu/packages/java.scm (java-jopt-simple): New variable.
> ---
>  gnu/packages/java.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>
> diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
> index 7a1a66027..3dc71e4bc 100644
> --- a/gnu/packages/java.scm
> +++ b/gnu/packages/java.scm
> @@ -1430,3 +1430,31 @@ constructor on object instantiation.")
>      (description "EasyMock is a Java library that provides an easy way to use
>  mock objects in unit testing.")
>      (license license:asl2.0)))
> +
> +(define-public java-jopt-simple
> +  (package
> +    (name "java-jopt-simple")
> +    (version "5.0.3")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "http://repo1.maven.org/maven2/"
> +                                  "net/sf/jopt-simple/jopt-simple/"
> +                                  version "/jopt-simple-"
> +                                  version "-sources.jar"))
> +              (sha256
> +               (base32
> +                "1v8bzmwmw6qq20gm42xyay6vrd567dra4vqwhgjnqqjz1gs9f8qa"))))
> +    (build-system ant-build-system)
> +    (arguments
> +     `(#:tests? #f ; there are no tests
> +       #:jar-name "jopt-simple.jar"))
> +    (home-page "https://pholser.github.io/jopt-simple/")
> +    (synopsis "Java library for parsing command line options")
> +    (description "JOpt Simple is a Java library for parsing command line
> +options, such as those you might pass to an invocation of @code{javac}.  In
> +the interest of striving for simplicity, as closely as possible JOpt Simple
> +attempts to honor the command line option syntaxes of POSIX @code{getopt} and
> +GNU @code{getopt_long}.  It also aims to make option parser configuration and
> +retrieval of options and their arguments simple and expressive, without being
> +overly clever.")
> +    (license license:expat)))

Cool, it is 'syntaxes' indeed!

LGTM.

Kind regards,
Roel Janssen




This bug report was last modified 8 years and 94 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.