1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 01:51:24 +00:00
nixpkgs/pkgs/development/libraries/libssh/default.nix
Vladimír Čunát a13200352a libssh: update, incl. features and CVE-2014-0017 fix
Also add pkgconfig to inputs, as it was looked for by cmake.
Dependent packages seem to build fine.
2014-03-05 21:33:56 +01:00

24 lines
583 B
Nix

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