From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d77J7-0003F5-56 for guix-patches@gnu.org; Sat, 06 May 2017 17:32:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d77J4-0005yU-2A for guix-patches@gnu.org; Sat, 06 May 2017 17:32:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60490) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d77J3-0005yQ-UY for guix-patches@gnu.org; Sat, 06 May 2017 17:32:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d77J3-0004cA-P1 for guix-patches@gnu.org; Sat, 06 May 2017 17:32:01 -0400 Subject: bug#26803: [PATCH 10/36] gnu: Add java-jopt-simple. Resent-Message-ID: References: <20170506153617.3074-1-rekado@elephly.net> <20170506153617.3074-10-rekado@elephly.net> From: Roel Janssen In-reply-to: <20170506153617.3074-10-rekado@elephly.net> Date: Sat, 06 May 2017 23:31:21 +0200 Message-ID: <87d1blk6za.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ricardo Wurmus Cc: 26803@debbugs.gnu.org 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