2014-03-05 20:22:22 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, cmake, zlib, libgcrypt }:
|
2010-02-14 21:56:35 +00:00
|
|
|
|
2011-06-07 21:49:42 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-03-05 20:22:22 +00:00
|
|
|
name = "libssh-0.6.3";
|
2012-11-29 15:21:01 +00:00
|
|
|
|
2010-02-14 21:56:35 +00:00
|
|
|
src = fetchurl {
|
2014-03-05 20:22:22 +00:00
|
|
|
url = "https://red.libssh.org/attachments/download/87/${name}.tar.xz";
|
|
|
|
sha256 = "1jyaj9h1iglvn02hrvcchbx8ycjpj8b91h8mi459k7q5jp2xgd9b";
|
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
|
|
|
|
2014-03-05 20:22:22 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
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 21:49:42 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2010-02-14 21:56:35 +00:00
|
|
|
};
|
|
|
|
}
|