From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAM6B-0008VI-7i for guix-patches@gnu.org; Mon, 15 May 2017 15:56:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAM66-00034s-Ks for guix-patches@gnu.org; Mon, 15 May 2017 15:56:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44280) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dAM66-00034g-8f for guix-patches@gnu.org; Mon, 15 May 2017 15:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dAM66-00074W-2d for guix-patches@gnu.org; Mon, 15 May 2017 15:56:02 -0400 Subject: bug#26803: [PATCH 35/36] gnu: Add java-jsch. Resent-Message-ID: References: <20170506153617.3074-1-rekado@elephly.net> <20170506153617.3074-35-rekado@elephly.net> From: Ricardo Wurmus In-reply-to: Date: Mon, 15 May 2017 21:54:49 +0200 Message-ID: <8737c57v5i.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: Roel Janssen Cc: 26803@debbugs.gnu.org Roel Janssen writes: > Ricardo Wurmus writes: > >> * gnu/packages/java.scm (java-jsch): 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 287a7ae69..8ecd5bbfc 100644 >> --- a/gnu/packages/java.scm >> +++ b/gnu/packages/java.scm >> @@ -2247,6 +2247,34 @@ many basic Internet protocols. The purpose of the library is to provide >> fundamental protocol access, not higher-level abstractions.") >> (license license:asl2.0))) >> >> +(define-public java-jsch >> + (package >> + (name "java-jsch") >> + (version "0.1.54") >> + (source (origin >> + (method url-fetch) >> + (uri (string-append "mirror://sourceforge/jsch/jsch/" >> + version "/jsch-" version ".zip")) >> + (sha256 >> + (base32 >> + "029rdddyq1mh3ghryh3ki99kba1xkf1d1swjv2vi6lk6zzjy2wdb")))) >> + (build-system ant-build-system) >> + (arguments >> + `(#:build-target "dist" >> + #:tests? #f ; no tests included >> + #:phases >> + (modify-phases %standard-phases >> + (replace 'install (install-jars "dist"))))) >> + (native-inputs >> + `(("unzip" ,unzip))) >> + (home-page "http://www.jcraft.com/jsch/") >> + (synopsis "Pure Java implementation of SSH2") >> + (description "JSch is a pure Java implementation of SSH2. JSch allows you >> +to connect to an SSH server and use port forwarding, X11 forwarding, file >> +transfer, etc., and you can integrate its functionality into your own Java >> +programs.") >> + (license license:bsd-3))) >> + >> (define-public java-commons-cli >> (package >> (name "java-commons-cli") > > LGTM! And this looks like an interesting library. Yes, but it cannot only be used with Java… :) -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net