knot-dns: add passthru.tests
I hope I got the conventions right (found in doc/stdenv/meta.chapter.md) (cherry picked from commit cf0b179b5ea78ff8fd34763c48da4323739fa5fb)
This commit is contained in:
parent
26febe6bdc
commit
73d3525b3d
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue