git.iko.soy/typeable/nixpkgs
on master help sign in
nghttp2: add curl and libsoup as tests
commit104a7fe846743d1d858c8a32e026aa55620fb20f authorJonathan Ringer <jonringer117@gmail.com> dateMon 7 Mar 2022, 09:41 (5 years ago) parent7e49720
1 file changed+8
pkgs/development/libraries/nghttp2/default.nix+8
pkgs/development/libraries/nghttp2/default.nix+8
@@ -10,6 +10,10 @@
1010, enableJemalloc ? false, jemalloc ? null
1111, enableApp ? with stdenv.hostPlatform; !isWindows && !isStatic
1212, enablePython ? false, python ? null, cython ? null, ncurses ? null, setuptools ? null
13+
14+# downstream dependencies, for testing
15+, curl
16+, libsoup
1317}:
1418
1519# Note: this package is used for bootstrapping fetchurl, and thus
@@ -73,6 +77,10 @@ stdenv.mkDerivation rec {
7377
7478 #doCheck = true; # requires CUnit ; currently failing at test_util_localtime_date in util_test.cc
7579
80+ passthru.tests = {
81+ inherit curl libsoup;
82+ };
83+
7684 meta = with lib; {
7785 homepage = "https://nghttp2.org/";
7886 description = "A C implementation of HTTP/2";