at 18.09-beta 22 lines 602 B view raw
1{ stdenv, fetchurlBoot, openssl, zlib, windows }: 2 3stdenv.mkDerivation rec { 4 name = "libssh2-1.8.0"; 5 6 src = fetchurlBoot { 7 url = "${meta.homepage}/download/${name}.tar.gz"; 8 sha256 = "1m3n8spv79qhjq4yi0wgly5s5rc8783jb1pyra9bkx1md0plxwrr"; 9 }; 10 11 outputs = [ "out" "dev" "devdoc" ]; 12 13 buildInputs = [ openssl zlib ] 14 ++ stdenv.lib.optional stdenv.hostPlatform.isMinGW windows.mingw_w64; 15 16 meta = { 17 description = "A client-side C library implementing the SSH2 protocol"; 18 homepage = https://www.libssh2.org; 19 platforms = stdenv.lib.platforms.all; 20 maintainers = [ ]; 21 }; 22}