@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, pkgconfig, gnutls, liburcu, lmdb, libcap_ng, libidn2, libunistring
2−, systemd, nettle, libedit, zlib, libiconv, libintl, libmaxminddb
2+, systemd, nettle, libedit, zlib, libiconv, libintl, libmaxminddb, libbpf, nghttp2
33, autoreconfHook
44}:
55
@@ -7,11 +7,11 @@ let inherit (stdenv.lib) optional optionals; in
77
88stdenv.mkDerivation rec {
99 pname = "knot-dns";
10− version = "2.9.6";
10+ version = "3.0.0";
1111
1212 src = fetchurl {
1313 url = "https://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz";
14− sha256 = "bf742883c6825b54f19f2dadca2c94fec1ff8bdcf0a52388e2e167937594b2e7";
14+ sha256 = "f1c96aff6e873a2f9b1b8c2441d5a7801dd48d3abdb738a4d24b26c2a8fbe6c4";
1515 };
1616
1717 outputs = [ "bin" "out" "dev" ];
@@ -34,8 +34,11 @@ stdenv.mkDerivation rec {
3434 gnutls liburcu libidn2 libunistring
3535 nettle libedit
3636 libiconv lmdb libintl
37+ libbpf # XDP support
38+ nghttp2 # DoH support in kdig
3739 libmaxminddb # optional for geoip module (it's tiny)
3840 # without sphinx &al. for developer documentation
41+ # TODO: add dnstap support?
3942 ]
4043 ++ optionals stdenv.isLinux [ libcap_ng systemd ]
4144 ++ optional stdenv.isDarwin zlib; # perhaps due to gnutls