Merge #187832: knot-dns: 3.1.9 -> 3.2.0

This commit is contained in:
Vladimír Čunát
2022-08-25 09:51:54 +02:00
+8 -2
View File
@@ -1,15 +1,16 @@
{ lib, stdenv, fetchurl, pkg-config, gnutls, liburcu, lmdb, libcap_ng, libidn2, libunistring
, systemd, nettle, libedit, zlib, libiconv, libintl, libmaxminddb, libbpf, nghttp2, libmnl
, autoreconfHook, nixosTests, knot-resolver
, fetchpatch
}:
stdenv.mkDerivation rec {
pname = "knot-dns";
version = "3.1.9";
version = "3.2.0";
src = fetchurl {
url = "https://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz";
sha256 = "sha256-s8pPHUROlf8n0gltPMWkfBDB1poeSIWuipcngfYnnYI=";
sha256 = "426d120994daf93af348aa6c48428e583dd286656415de4daf7a59106fd98631";
};
outputs = [ "bin" "out" "dev" ];
@@ -21,6 +22,11 @@ stdenv.mkDerivation rec {
];
patches = [
(fetchpatch {
name = "test-32bit-xdp.patch";
url = "https://gitlab.nic.cz/knot/knot-dns/-/commit/325dfeefdfd8a3dd318cfe0ab52cd7efbf839ccd.diff";
sha256 = "E5J2Jf4/m5H59Xn6TyATu2gKs3CgShYlMF2Qj1SW1zw=";
})
# Don't try to create directories like /var/lib/knot at build time.
# They are later created from NixOS itself.
./dont-create-run-time-dirs.patch