2014-12-20 13:35:20 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, cmake, zlib, libgcrypt, openssl }:
|
2010-02-14 21:56:35 +00:00
|
|
|
|
2011-06-07 22:49:42 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2014-12-20 13:35:20 +00:00
|
|
|
name = "libssh-0.6.4";
|
2012-11-29 15:21:01 +00:00
|
|
|
|
2010-02-14 21:56:35 +00:00
|
|
|
src = fetchurl {
|
2014-12-20 13:35:20 +00:00
|
|
|
url = "https://red.libssh.org/attachments/download/107/${name}.tar.gz";
|
|
|
|
sha256 = "0lkb45sc7w0wd67p46yh8rsprglssnkqar1sp0impwsvx7i0acky";
|
2010-02-14 21:56:35 +00:00
|
|
|
};
|
2012-11-29 15:21:01 +00:00
|
|
|
|
2014-12-20 13:35:20 +00:00
|
|
|
# option we don't provide (yet): use libgcrypt instead of openssl
|
|
|
|
buildInputs = [ zlib /*libgcrypt*/ openssl ];
|
2012-11-29 15:21:01 +00:00
|
|
|
|
2014-03-05 20:22:22 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2012-11-29 15:21:01 +00:00
|
|
|
|
2014-12-20 13:35:20 +00:00
|
|
|
meta = with stdenv.lib; {
|
2010-02-14 21:56:35 +00:00
|
|
|
description = "SSH client library";
|
2014-12-20 13:35:20 +00:00
|
|
|
license = licenses.lgpl2Plus;
|
2011-06-07 22:49:42 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
|
2014-12-20 13:35:20 +00:00
|
|
|
platforms = platforms.all;
|
2010-02-14 21:56:35 +00:00
|
|
|
};
|
|
|
|
}
|