diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-11-27 23:52:53 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-11-28 00:15:07 +0100 |
commit | 1681cd4a24e6974871d26abcd249fad6377427b0 (patch) | |
tree | 16c273f996882bb4608da262d5630003212b5156 /gnu/packages | |
parent | 977f03ffd31a3b754c26be7bed0f5ef7e063b843 (diff) | |
download | guix-1681cd4a24e6974871d26abcd249fad6377427b0.tar guix-1681cd4a24e6974871d26abcd249fad6377427b0.tar.gz |
gnu: Add libssh.
* gnu/packages/ssh.scm (libssh): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/ssh.scm | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index b42f3ff7ca..0a344521dc 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -25,7 +25,36 @@ #:use-module (gnu packages openssl) #:use-module (guix packages) #:use-module (guix download) - #:use-module (guix build-system gnu)) + #:use-module (guix build-system gnu) + #:use-module (guix build-system cmake)) + +(define-public libssh + (package + (name "libssh") + (version "0.5.3") + (source (origin + (method url-fetch) + (uri (string-append "http://www.libssh.org/files/0.5/libssh-" + version ".tar.gz")) + (sha256 + (base32 + "1w6s217vjq0w3v5i0c5ql6m0ki1yz05g9snah3azxfkl9k4schpd")))) + (build-system cmake-build-system) + (arguments '(#:configure-flags '("-DWITH_GCRYPT=ON") + + ;; TODO: Add 'CMockery' and '-DWITH_TESTING=ON' for the test + ;; suite. + #:tests? #f)) + (inputs `(("zlib" ,zlib) + ("libgcrypt" ,libgcrypt))) + (synopsis "SSH client library") + (description + "libssh is a C library implementing the SSHv2 and SSHv1 protocol for +client and server implementations. With libssh, you can remotely execute +programs, transfer files, and use a secure and transparent tunnel for your +remote applications.") + (home-page "http://www.libssh.org") + (license license:lgpl2.1+))) (define-public libssh2 (package |