From 2fbf053b7b7c24ceb36766e19d630f469d0641ce Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Tue, 29 Jan 2013 23:02:22 +0100 Subject: gnu: Add libssh2. * gnu/packages/ssh.scm: New file. * Makefile.am (MODULES): Add it. --- Makefile.am | 1 + gnu/packages/ssh.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 gnu/packages/ssh.scm diff --git a/Makefile.am b/Makefile.am index a634faaa39..9d09f08aec 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \ diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm new file mode 100644 index 0000000000..50998794f2 --- /dev/null +++ b/gnu/packages/ssh.scm @@ -0,0 +1,49 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2013 Andreas Enge +;;; +;;; 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 . + +(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/"))) -- cgit v1.2.3