2012-11-29 19:21:01 +04:00
|
|
|
{ stdenv, fetchurl, cmake, zlib, libgcrypt }:
|
2010-02-15 00:56:35 +03:00
|
|
|
|
2011-06-08 01:49:42 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2013-11-17 17:48:42 +04:00
|
|
|
name = "libssh-0.5.5";
|
2012-11-29 19:21:01 +04:00
|
|
|
|
2010-02-15 00:56:35 +03:00
|
|
|
src = fetchurl {
|
2013-11-17 17:48:42 +04:00
|
|
|
url = "https://red.libssh.org/attachments/download/51/${name}.tar.gz";
|
|
|
|
sha256 = "17cfdff4hc0ijzrr15biq29fiabafz0bw621zlkbwbc1zh2hzpy0";
|
2010-02-15 00:56:35 +03:00
|
|
|
};
|
2012-11-29 19:21:01 +04:00
|
|
|
|
2012-03-15 21:08:26 +04:00
|
|
|
buildInputs = [ zlib libgcrypt ];
|
2012-11-29 19:21:01 +04:00
|
|
|
|
2012-12-28 22:20:09 +04:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2012-11-29 19:21:01 +04:00
|
|
|
|
2012-03-15 21:08:26 +04:00
|
|
|
cmakeFlags = "-DWITH_GCRYPT=ON";
|
2012-11-29 19:21:01 +04:00
|
|
|
|
2010-02-15 00:56:35 +03:00
|
|
|
meta = {
|
|
|
|
description = "SSH client library";
|
|
|
|
license = "LGPL";
|
2011-06-08 01:49:42 +04:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2010-02-15 00:56:35 +03:00
|
|
|
};
|
|
|
|
}
|