mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
1812522f2a
It seems an old DoS-only problem.
24 lines
562 B
Nix
24 lines
562 B
Nix
{ stdenv, fetchurl, cmake, zlib, libgcrypt }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libssh-0.5.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://red.libssh.org/attachments/download/51/${name}.tar.gz";
|
|
sha256 = "17cfdff4hc0ijzrr15biq29fiabafz0bw621zlkbwbc1zh2hzpy0";
|
|
};
|
|
|
|
buildInputs = [ zlib libgcrypt ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
cmakeFlags = "-DWITH_GCRYPT=ON";
|
|
|
|
meta = {
|
|
description = "SSH client library";
|
|
license = "LGPL";
|
|
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|