diff --git a/pkgs/development/libraries/libssh2/default.nix b/pkgs/development/libraries/libssh2/default.nix new file mode 100644 index 000000000000..a0723d956717 --- /dev/null +++ b/pkgs/development/libraries/libssh2/default.nix @@ -0,0 +1,19 @@ +{stdenv, fetchurlBoot, openssl, zlib}: + +stdenv.mkDerivation rec { + name = "libssh2-1.2.6"; + + src = fetchurlBoot { + url = "${meta.homepage}/download/${name}.tar.gz"; + sha256 = "00f6hw972v7jd0rrdr6kx5cn7pa1spyx8xgc7vhjydksgsig3f8b"; + }; + + buildInputs = [ openssl zlib ]; + + meta = { + description = "A client-side C library implementing the SSH2 protocol"; + homepage = http://www.libssh2.org; + platforms = stdenv.lib.platforms.all; + maintainers = [ stdenv.lib.maintainers.urkud ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d6bb4a4b6a70..515dbf72d443 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3377,6 +3377,8 @@ let libssh = callPackage ../development/libraries/libssh { }; + libssh2 = callPackage ../development/libraries/libssh2 { }; + libstartup_notification = callPackage ../development/libraries/startup-notification { }; libtasn1 = callPackage ../development/libraries/libtasn1 { };