mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-07 22:33:08 +00:00
38e847ff19
Fixes CVE-2012-4559, CVE-2012-4560, CVE-2012-4561 and CVE-2012-4562.
24 lines
562 B
Nix
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;
|
|
};
|
|
}
|