aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-03-07 19:55:03 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-05-15 22:00:30 +0200
commit808cb58f86700ec5d6fa9652e01e7f520e3f31bb (patch)
tree4d4268043fff5231f71126d5e255217c2a6ec27b /gnu
parent4b34c21ff09fe030a2143d9410b5bf81f0978182 (diff)
downloadguix-808cb58f86700ec5d6fa9652e01e7f520e3f31bb.tar
guix-808cb58f86700ec5d6fa9652e01e7f520e3f31bb.tar.gz
gnu: Add java-jsch.
* gnu/packages/java.scm (java-jsch): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/java.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index b05c3cca87..39c02e0066 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2192,6 +2192,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")