diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2022-03-07 09:41:38 -0800 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2022-03-07 09:41:38 -0800 |
commit | 104a7fe846743d1d858c8a32e026aa55620fb20f (patch) | |
tree | adc6eec8a45782be9df80753a9d2897a4251dfdd /pkgs/development/libraries/nghttp2 | |
parent | 7e49720ea18f403ada4f491e1903445ef14a7c9a (diff) |
nghttp2: add curl and libsoup as tests
Diffstat (limited to 'pkgs/development/libraries/nghttp2')
-rw-r--r-- | pkgs/development/libraries/nghttp2/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/libraries/nghttp2/default.nix b/pkgs/development/libraries/nghttp2/default.nix index 86edacc6166b9..bd639ec3041a2 100644 --- a/pkgs/development/libraries/nghttp2/default.nix +++ b/pkgs/development/libraries/nghttp2/default.nix @@ -10,6 +10,10 @@ , enableJemalloc ? false, jemalloc ? null , enableApp ? with stdenv.hostPlatform; !isWindows && !isStatic , 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 @@ -73,6 +77,10 @@ stdenv.mkDerivation rec { #doCheck = true; # requires CUnit ; currently failing at test_util_localtime_date in util_test.cc + passthru.tests = { + inherit curl libsoup; + }; + meta = with lib; { homepage = "https://nghttp2.org/"; description = "A C implementation of HTTP/2"; |