2012-11-29 15:21:01 +00:00
|
|
|
{ stdenv, fetchurl, cmake, zlib, libgcrypt }:
|
2010-02-14 21:56:35 +00:00
|
|
|
|
2011-06-07 22:49:42 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2012-11-29 15:21:01 +00:00
|
|
|
name = "libssh-0.5.3";
|
|
|
|
|
2010-02-14 21:56:35 +00:00
|
|
|
src = fetchurl {
|
2012-11-29 15:21:01 +00:00
|
|
|
url = "https://red.libssh.org/attachments/download/38/${name}.tar.gz";
|
|
|
|
sha256 = "1w6s217vjq0w3v5i0c5ql6m0ki1yz05g9snah3azxfkl9k4schpd";
|
2010-02-14 21:56:35 +00:00
|
|
|
};
|
2012-11-29 15:21:01 +00:00
|
|
|
|
2012-03-15 17:08:26 +00:00
|
|
|
buildInputs = [ zlib libgcrypt ];
|
2012-11-29 15:21:01 +00:00
|
|
|
|
2012-03-15 17:08:26 +00:00
|
|
|
buildNativeInputs = [ cmake ];
|
2012-11-29 15:21:01 +00:00
|
|
|
|
2012-03-15 17:08:26 +00:00
|
|
|
cmakeFlags = "-DWITH_GCRYPT=ON";
|
2012-11-29 15:21:01 +00:00
|
|
|
|
2010-02-14 21:56:35 +00:00
|
|
|
meta = {
|
|
|
|
description = "SSH client library";
|
|
|
|
license = "LGPL";
|
2011-06-07 22:49:42 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2010-02-14 21:56:35 +00:00
|
|
|
};
|
|
|
|
}
|