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

24 lines
637 B
Nix
Raw Normal View History

{ stdenv, fetchurlBoot, openssl, zlib, windows }:
2010-08-05 20:24:32 +00:00
stdenv.mkDerivation rec {
2016-12-21 13:58:45 +10:00
name = "libssh2-1.8.0";
2010-08-05 20:24:32 +00:00
2015-06-02 11:43:15 +02:00
src = fetchurlBoot {
2010-08-05 20:24:32 +00:00
url = "${meta.homepage}/download/${name}.tar.gz";
2016-12-21 13:58:45 +10:00
sha256 = "1m3n8spv79qhjq4yi0wgly5s5rc8783jb1pyra9bkx1md0plxwrr";
2010-08-05 20:24:32 +00:00
};
2016-09-01 11:07:23 +02:00
outputs = [ "out" "dev" "devdoc" ];
2015-10-06 14:52:57 +02:00
2018-05-10 13:10:39 -04:00
buildInputs = [ openssl zlib ]
++ stdenv.lib.optional stdenv.hostPlatform.isMinGW windows.mingw_w64;
2018-10-11 12:12:54 +02:00
meta = with stdenv.lib; {
2010-08-05 20:24:32 +00:00
description = "A client-side C library implementing the SSH2 protocol";
2018-04-30 20:03:23 -07:00
homepage = https://www.libssh2.org;
2018-10-11 12:12:54 +02:00
platforms = platforms.all;
license = licenses.bsd3;
2017-03-27 19:11:17 +02:00
maintainers = [ ];
2010-08-05 20:24:32 +00:00
};
}