nixpkgs/pkgs/development/libraries/libssh/default.nix
Eelco Dolstra 38e847ff19 libssh: Update to 0.5.3
Fixes CVE-2012-4559, CVE-2012-4560, CVE-2012-4561 and CVE-2012-4562.
2012-11-29 16:21:01 +01:00

24 lines
562 B
Nix

{ stdenv, fetchurl, cmake, zlib, libgcrypt }:
stdenv.mkDerivation rec {
name = "libssh-0.5.3";
src = fetchurl {
url = "https://red.libssh.org/attachments/download/38/${name}.tar.gz";
sha256 = "1w6s217vjq0w3v5i0c5ql6m0ki1yz05g9snah3azxfkl9k4schpd";
};
buildInputs = [ zlib libgcrypt ];
buildNativeInputs = [ cmake ];
cmakeFlags = "-DWITH_GCRYPT=ON";
meta = {
description = "SSH client library";
license = "LGPL";
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
platforms = stdenv.lib.platforms.all;
};
}