From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGUM1-0005rK-Vv for guix-patches@gnu.org; Sun, 19 Nov 2017 13:30:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGULz-0001FO-8N for guix-patches@gnu.org; Sun, 19 Nov 2017 13:30:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:39244) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eGULz-0001En-46 for guix-patches@gnu.org; Sun, 19 Nov 2017 13:30:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eGULy-00075V-Ta for guix-patches@gnu.org; Sun, 19 Nov 2017 13:30:02 -0500 Subject: [bug#29359] [PATCH 29/31] gnu: Add java-jline. Resent-Message-ID: From: Julien Lepiller Date: Sun, 19 Nov 2017 18:58:03 +0100 Message-Id: <20171119175805.902-29-julien@lepiller.eu> In-Reply-To: <20171119175805.902-1-julien@lepiller.eu> References: <20171119175805.902-1-julien@lepiller.eu> 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: 29359@debbugs.gnu.org * gnu/packages/java.scm (java-jline): New variable. --- gnu/packages/java.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 1f3fd71ab..dc9768a02 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -8476,3 +8476,34 @@ outputting XML data from Java code.") (description "XStream is a simple library to serialize objects to XML and back again.") (license license:x11))) + +(define-public java-jline + (package + (name "java-jline") + (version "1.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/jline/jline1/archive/jline-" + version ".tar.gz")) + (sha256 + (base32 + "0bi3p6vrh7a6v0fbpb6rx9plpmx5zk3lr352xzdbz2jcxg499wir")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "jline.jar" + #:source-dir "src/main/java" + #:test-dir "src/test" + #:phases + (modify-phases %standard-phases + (add-before 'build 'copy-resources + (lambda _ + (copy-recursively "src/main/resources" "build/classes") + #t))))) + (native-inputs + `(("java-junit" ,java-junit))) + (home-page "https://jline.github.io") + (synopsis "Console input handling library") + (description "JLine is a Java library for handling console input. It is +similar in functionality to BSD editline and GNU readline but with additional +features that bring it in par with ZSH line editor.") + (license license:asl2.0))) -- 2.15.0