git.iko.soy/typeable/nixpkgs
on master help sign in
knot-dns: 2.9.6 -> 3.0.0

Upgrade should be pretty easy: https://www.knot-dns.cz/docs/3.0/html/migration.html#upgrade-2-9-x-to-3-0-x https://en.blog.nic.cz/2020/09/09/knot-dns-3-0-news/ https://gitlab.nic.cz/knot/knot-dns/-/tags/v3.0.0 For now, it's built with XDP support but the NixOS service isn't ready for that yet. I'll try to look at that sometime later.

commitd09738dd9070a34e04cf54f1e8deeeea5408f52e authorVladimír Čunát <v@cunat.cz> dateWed 9 Sep 2020, 17:11 (6 years ago) parent1612445
1 file changed+6−3
pkgs/servers/dns/knot-dns/default.nix+6−3
pkgs/servers/dns/knot-dns/default.nix+6−3
@@ -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