Merge #151426: knot-dns: 3.1.4 -> 3.1.5

This commit is contained in:
Vladimír Čunát 2021-12-21 16:39:43 +01:00
commit af733e02a8
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -1,15 +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
, autoreconfHook, nixosTests, knot-resolver
}:
stdenv.mkDerivation rec {
pname = "knot-dns";
version = "3.1.4";
version = "3.1.5";
src = fetchurl {
url = "https://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz";
sha256 = "05ebca053b4ce62205a095b6885ed1a1167c629ccac2b3c8dcc431bd2deedf70";
sha256 = "2da6e50b0662297d55f80e349568224e07fe88cad20bee1d2e22f54bb32da064";
};
outputs = [ "bin" "out" "dev" ];
@ -53,7 +53,11 @@ stdenv.mkDerivation rec {
rm -r "$out"/lib/*.la
'';
passthru.tests = { inherit (nixosTests) knot; };
passthru.tests = {
inherit knot-resolver;
} // lib.optionalAttrs stdenv.isLinux {
inherit (nixosTests) knot;
};
meta = with lib; {
description = "Authoritative-only DNS server from .cz domain registry";