Merge pull request #276144 from risicle/ris-libssh2-passthru-tests

libssh2: add some key reverse-dependencies to `passthru.tests`
This commit is contained in:
Robert Scott
2024-08-04 11:21:42 +01:00
committed by GitHub
+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";
@@ -27,6 +40,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 = "Client-side C library implementing the SSH2 protocol";
homepage = "https://www.libssh2.org";