aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/servers/dns/nsd/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/servers/dns/nsd/default.nix')
-rw-r--r--nixpkgs/pkgs/servers/dns/nsd/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/servers/dns/nsd/default.nix b/nixpkgs/pkgs/servers/dns/nsd/default.nix
index 43c2900443e..2dfdf108c4f 100644
--- a/nixpkgs/pkgs/servers/dns/nsd/default.nix
+++ b/nixpkgs/pkgs/servers/dns/nsd/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, libevent, openssl
+{ stdenv, fetchurl, libevent, openssl, nixosTests
, bind8Stats ? false
, checking ? false
, ipv6 ? true
@@ -11,16 +11,16 @@
, rrtypes ? false
, zoneStats ? false
-, configFile ? "etc/nsd/nsd.conf"
+, configFile ? "/etc/nsd/nsd.conf"
}:
stdenv.mkDerivation rec {
pname = "nsd";
- version = "4.3.1";
+ version = "4.3.2";
src = fetchurl {
url = "https://www.nlnetlabs.nl/downloads/${pname}/${pname}-${version}.tar.gz";
- sha256 = "11w9kl99fs888f3zwx2j92i8lcp78vq91jac8s317a2icv74mczl";
+ sha256 = "0ac3mbn5z4nc18782m9aswdpi2m9f4665vidw0ciyigdh0pywp2v";
};
prePatch = ''
@@ -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";