commit
17b73ff90c
34
pkgs/servers/dns/dnsdist/default.nix
Normal file
34
pkgs/servers/dns/dnsdist/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ stdenv, fetchurl, pkgconfig, systemd
|
||||
, boost, libsodium, libedit, re2
|
||||
, net_snmp, lua, protobuf, openssl }: stdenv.mkDerivation rec {
|
||||
name = "dnsdist-${version}";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.powerdns.com/releases/dnsdist-${version}.tar.bz2";
|
||||
sha256 = "025sgvpi3ps0n4mzfwkk6a5ang90a3c7s2fi9vni6jj0p16wsrxa";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ systemd boost libsodium libedit re2 net_snmp lua protobuf openssl ];
|
||||
|
||||
configureFlags = [
|
||||
"--enable-libsodium"
|
||||
"--enable-re2"
|
||||
"--enable-dnscrypt"
|
||||
"--enable-dns-over-tls"
|
||||
"--with-protobuf=yes"
|
||||
"--with-net-snmp"
|
||||
"--disable-dependency-tracking"
|
||||
"--enable-unit-tests"
|
||||
"--enable-systemd"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "DNS Loadbalancer";
|
||||
homepage = "https://dnsdist.org";
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
}
|
@ -13883,6 +13883,8 @@ with pkgs;
|
||||
|
||||
powerdns = callPackage ../servers/dns/powerdns { };
|
||||
|
||||
dnsdist = callPackage ../servers/dns/dnsdist { };
|
||||
|
||||
pdns-recursor = callPackage ../servers/dns/pdns-recursor { };
|
||||
|
||||
powertop = callPackage ../os-specific/linux/powertop { };
|
||||
|
Loading…
Reference in New Issue
Block a user