knot-dns: 3.1.1 -> 3.1.2

https://gitlab.nic.cz/knot/knot-dns/-/tags/v3.1.2
The patch was included in this release.
This commit is contained in:
Vladimír Čunát 2021-09-08 16:04:31 +02:00
parent 91d2ebe422
commit 12c40d9972
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -1,16 +1,15 @@
{ lib, stdenv, fetchurl, pkg-config, gnutls, liburcu, lmdb, libcap_ng, libidn2, libunistring
, systemd, nettle, libedit, zlib, libiconv, libintl, libmaxminddb, libbpf, nghttp2, libmnl
, autoreconfHook, nixosTests
, fetchpatch
}:
stdenv.mkDerivation rec {
pname = "knot-dns";
version = "3.1.1";
version = "3.1.2";
src = fetchurl {
url = "https://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz";
sha256 = "75bfb1acaca774ed3dd781dc74780298dc0fd51b54e4b61015e7487d6cd2067c";
sha256 = "580087695df350898b2da8a5c2bdf1dc5eb262ed5ff2cb1538cee480a50fa094";
};
outputs = [ "bin" "out" "dev" ];
@ -26,11 +25,6 @@ stdenv.mkDerivation rec {
# They are later created from NixOS itself.
./dont-create-run-time-dirs.patch
./runtime-deps.patch
# rename task_t to worker_task_t to fix redefinition issues on (aach64-)darwin
(fetchpatch {
url = "https://gitlab.nic.cz/knot/knot-dns/-/commit/a70b718085f9b97e556970444313c37a702a60f7.diff";
sha256 = "0m776pb9iga0lj2gadk23shfrcfrsrzlyaj8800klw7xh6qq32bm";
})
];
nativeBuildInputs = [ pkg-config autoreconfHook ];