nixpkgs/pkgs/development/libraries/libssh2/default.nix
Vladimír Čunát d6c138dff2
libssh2: propagate openssl
I think think this started with the update in 268a7bab34.
2023-06-05 14:32:24 +02:00

26 lines
765 B
Nix

{ lib, stdenv, fetchurl, openssl, zlib, windows }:
stdenv.mkDerivation rec {
pname = "libssh2";
version = "1.11.0";
src = fetchurl {
url = "https://www.libssh2.org/download/libssh2-${version}.tar.gz";
sha256 = "sha256-NzYWHkHiaTMk3rOMJs/cPv5iCdY0ukJY2xzs/2pa1GE=";
};
outputs = [ "out" "dev" "devdoc" ];
propagatedBuildInputs = [ openssl ]; # see Libs: in libssh2.pc
buildInputs = [ zlib ]
++ lib.optional stdenv.hostPlatform.isMinGW windows.mingw_w64;
meta = with lib; {
description = "A client-side C library implementing the SSH2 protocol";
homepage = "https://www.libssh2.org";
platforms = platforms.all;
license = with licenses; [ bsd3 libssh2 ];
maintainers = with maintainers; [ SuperSandro2000 ];
};
}