nsd: set passthru.tests

This commit is contained in:
Félix Baylac-Jacqué 2020-06-26 08:53:58 +02:00
parent 0c47a81419
commit 15c8a4800e
No known key found for this signature in database
GPG Key ID: EFD315F31848DBA4

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libevent, openssl
{ stdenv, fetchurl, libevent, openssl, nixosTests
, bind8Stats ? false
, checking ? false
, ipv6 ? true
@ -52,6 +52,10 @@ stdenv.mkDerivation rec {
sed 's@$(INSTALL_DATA) nsd.conf.sample $(DESTDIR)$(nsdconfigfile).sample@@g' -i Makefile.in
'';
passthru.tests = {
inherit (nixosTests) nsd;
};
meta = with stdenv.lib; {
homepage = "http://www.nlnetlabs.nl";
description = "Authoritative only, high performance, simple and open source name server";