knot-dns: add passthru.tests

I hope I got the conventions right (found in doc/stdenv/meta.chapter.md)
launchpad/nixpkgs/master
Vladimír Čunát 3 years ago
parent 28dd3b6177
commit cf0b179b5e
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
  1. 4
      pkgs/servers/dns/knot-dns/default.nix

@ -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…
Cancel
Save