nixpkgs/pkgs/development/libraries/libssh/default.nix
Vladimír Čunát 7357f0ae24 libssh: security+maintenance to fix CVE-2014-8132
Also switched to openssl instead of libgcrypt (wouldn't compile otherwise),
and fixed meta.license.
2014-12-20 14:50:58 +01:00

23 lines
655 B
Nix

{ stdenv, fetchurl, pkgconfig, cmake, zlib, libgcrypt, openssl }:
stdenv.mkDerivation rec {
name = "libssh-0.6.4";
src = fetchurl {
url = "https://red.libssh.org/attachments/download/107/${name}.tar.gz";
sha256 = "0lkb45sc7w0wd67p46yh8rsprglssnkqar1sp0impwsvx7i0acky";
};
# option we don't provide (yet): use libgcrypt instead of openssl
buildInputs = [ zlib /*libgcrypt*/ openssl ];
nativeBuildInputs = [ cmake pkgconfig ];
meta = with stdenv.lib; {
description = "SSH client library";
license = licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
platforms = platforms.all;
};
}