libssh2: add some key reverse-dependencies to passthru.tests

This commit is contained in:
Robert Scott
2023-12-23 00:40:50 +00:00
parent 6e85fe5b60
commit 69537e6aa6
+19 -1
View File
@@ -1,4 +1,17 @@
{ lib, stdenv, fetchurl, openssl, zlib, windows }:
{ lib
, stdenv
, fetchurl
, openssl
, zlib
, windows
# for passthru.tests
, aria2
, curl
, libgit2
, mc
, vlc
}:
stdenv.mkDerivation rec {
pname = "libssh2";
@@ -15,6 +28,11 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib ]
++ lib.optional stdenv.hostPlatform.isMinGW windows.mingw_w64;
passthru.tests = {
inherit aria2 libgit2 mc vlc;
curl = (curl.override { scpSupport = true; }).tests.withCheck;
};
meta = with lib; {
description = "A client-side C library implementing the SSH2 protocol";
homepage = "https://www.libssh2.org";