nghttp2: add curl and libsoup as tests

This commit is contained in:
Jonathan Ringer 2022-03-07 09:41:38 -08:00
parent 7e49720ea1
commit 104a7fe846
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -10,6 +10,10 @@
, enableJemalloc ? false, jemalloc ? null , enableJemalloc ? false, jemalloc ? null
, enableApp ? with stdenv.hostPlatform; !isWindows && !isStatic , enableApp ? with stdenv.hostPlatform; !isWindows && !isStatic
, enablePython ? false, python ? null, cython ? null, ncurses ? null, setuptools ? null , enablePython ? false, python ? null, cython ? null, ncurses ? null, setuptools ? null
# downstream dependencies, for testing
, curl
, libsoup
}: }:
# Note: this package is used for bootstrapping fetchurl, and thus # Note: this package is used for bootstrapping fetchurl, and thus
@ -73,6 +77,10 @@ stdenv.mkDerivation rec {
#doCheck = true; # requires CUnit ; currently failing at test_util_localtime_date in util_test.cc #doCheck = true; # requires CUnit ; currently failing at test_util_localtime_date in util_test.cc
passthru.tests = {
inherit curl libsoup;
};
meta = with lib; { meta = with lib; {
homepage = "https://nghttp2.org/"; homepage = "https://nghttp2.org/";
description = "A C implementation of HTTP/2"; description = "A C implementation of HTTP/2";