3
0
Fork 0
forked from mirrors/nixpkgs

Merge #283787: knot-resolver: add dnstap support

This commit is contained in:
Vladimír Čunát 2024-01-28 08:18:56 +01:00
commit a61389c349
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -4,6 +4,7 @@
# build+runtime deps.
, knot-dns, luajitPackages, libuv, gnutls, lmdb
, jemalloc, systemd, libcap_ng, dns-root-data, nghttp2 # optionals, in principle
, fstrm, protobufc # more optionals
# test-only deps.
, cmocka, which, cacert
, extraFeatures ? false /* catch-all if defaults aren't enough */
@ -62,9 +63,10 @@ unwrapped = stdenv.mkDerivation rec {
# http://knot-resolver.readthedocs.io/en/latest/build.html#requirements
buildInputs = [ knot-dns lua.lua libuv gnutls lmdb ]
## the rest are optional dependencies
++ optionals stdenv.isLinux [ /*lib*/systemd libcap_ng ]
++ [ jemalloc nghttp2 ]
## optional dependencies; TODO: dnstap
++ [ fstrm protobufc ] # dnstap support
;
mesonFlags = [