knot-dns: add passthru.tests

I hope I got the conventions right (found in doc/stdenv/meta.chapter.md)
This commit is contained in:
Vladimír Čunát 2021-06-16 12:56:22 +02:00
parent 28dd3b6177
commit cf0b179b5e
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl, pkg-config, gnutls, liburcu, lmdb, libcap_ng, libidn2, libunistring
, systemd, nettle, libedit, zlib, libiconv, libintl, libmaxminddb, libbpf, nghttp2
, autoreconfHook
, autoreconfHook, nixosTests
}:
let inherit (lib) optional optionals; in
@ -56,6 +56,8 @@ stdenv.mkDerivation rec {
rm -r "$out"/lib/*.la
'';
passthru.tests = { inherit (nixosTests) knot; };
meta = with lib; {
description = "Authoritative-only DNS server from .cz domain registry";
homepage = "https://knot-dns.cz";