gnu: Add libssh2.

* gnu/packages/ssh.scm: New file.
* Makefile.am (MODULES): Add it.
This commit is contained in:
Andreas Enge 2013-01-29 23:02:22 +01:00
parent 2a75d4e664
commit 2fbf053b7b
2 changed files with 50 additions and 0 deletions

View File

@ -126,6 +126,7 @@ MODULES = \
gnu/packages/screen.scm \
gnu/packages/shishi.scm \
gnu/packages/sqlite.scm \
gnu/packages/ssh.scm \
gnu/packages/subversion.scm \
gnu/packages/system.scm \
gnu/packages/tcl.scm \

49
gnu/packages/ssh.scm Normal file
View File

@ -0,0 +1,49 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages ssh)
#:use-module ((guix licenses)
#:renamer (symbol-prefix-proc 'license:))
#:use-module (gnu packages compression)
#:use-module (gnu packages gnupg)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
(define-public libssh2
(package
(name "libssh2")
(version "1.4.3")
(source (origin
(method url-fetch)
(uri (string-append
"http://www.libssh2.org/download/libssh2-"
version ".tar.gz"))
(sha256 (base32
"0vdr478dbhbdgnniqmirawjb7mrcxckn4slhhrijxnzrkmgziipa"))))
(build-system gnu-build-system)
(inputs `(("libgcrypt" ,libgcrypt)
("zlib" ,zlib)))
(synopsis "libssh2, a client-side C library implementing the SSH2 protocol")
(description
"libssh2 is a library intended to allow software developers access to
the SSH-2 protocol in an easy-to-use self-contained package. It can be built
into an application to perform many different tasks when communicating with
a server that supports the SSH-2 protocol.")
(license license:bsd-3)
(home-page "http://www.libssh2.org/")))