c-ares: add downstream tests

This commit is contained in:
Jonathan Ringer 2022-10-13 13:00:09 -07:00
parent 74f7adf0be
commit fe2ffdcc5e
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -1,6 +1,10 @@
{ lib, stdenv, fetchurl, writeTextDir
, fetchpatch
, withCMake ? true, cmake
# sensitive downstream packages
, curl
, grpc # consumes cmake config
}:
# Note: this package is used for bootstrapping fetchurl, and thus
@ -31,6 +35,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
passthru.tests = {
inherit curl grpc;
};
meta = with lib; {
description = "A C library for asynchronous DNS requests";
homepage = "https://c-ares.haxx.se";