nixpkgs/pkgs/development/libraries/libssh2/default.nix

25 lines
690 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, openssl, zlib, windows }:
stdenv.mkDerivation rec {
pname = "libssh2";
2021-09-05 19:45:49 +01:00
version = "1.10.0";
src = fetchurl {
2021-09-05 19:45:49 +01:00
url = "https://www.libssh2.org/download/libssh2-${version}.tar.gz";
sha256 = "sha256-LWTpDz3tOUuR06LndMogOkF59prr7gMAPlpvpiHkHVE=";
};
outputs = [ "out" "dev" "devdoc" ];
buildInputs = [ openssl 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";
2018-10-11 11:12:54 +01:00
platforms = platforms.all;
license = licenses.bsd3;
2021-09-05 19:45:49 +01:00
maintainers = with maintainers; [ SuperSandro2000 ];
};
}