pdns-recursor: init at 4.0.4
This commit is contained in:
parent
fc8233a64f
commit
d79ea39d04
38
pkgs/servers/dns/pdns-recursor/default.nix
Normal file
38
pkgs/servers/dns/pdns-recursor/default.nix
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{ stdenv, fetchurl, pkgconfig, boost
|
||||||
|
, openssl, systemd, lua, luajit, protobuf
|
||||||
|
, enableLua ? false
|
||||||
|
, enableProtoBuf ? false
|
||||||
|
}:
|
||||||
|
|
||||||
|
assert enableLua -> lua != null && luajit != null;
|
||||||
|
assert enableProtoBuf -> protobuf != null;
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "pdns-recursor-${version}";
|
||||||
|
version = "4.0.4";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://downloads.powerdns.com/releases/pdns-recursor-${version}.tar.bz2";
|
||||||
|
sha256 = "0k8y9zxj2lz4rq782vgzr28yd43q0hwlnvszwq0k9l6c967pff13";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
boost openssl pkgconfig systemd
|
||||||
|
] ++ optional enableLua [ lua luajit ]
|
||||||
|
++ optional enableProtoBuf protobuf;
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--enable-reproducible"
|
||||||
|
"--with-systemd"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A recursive DNS server";
|
||||||
|
homepage = http://www.powerdns.com/;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ rnhmjoj ];
|
||||||
|
};
|
||||||
|
}
|
@ -11666,6 +11666,8 @@ in
|
|||||||
|
|
||||||
powerdns = callPackage ../servers/dns/powerdns { };
|
powerdns = callPackage ../servers/dns/powerdns { };
|
||||||
|
|
||||||
|
pdns-recursor = callPackage ../servers/dns/pdns-recursor { };
|
||||||
|
|
||||||
powertop = callPackage ../os-specific/linux/powertop { };
|
powertop = callPackage ../os-specific/linux/powertop { };
|
||||||
|
|
||||||
prayer = callPackage ../servers/prayer { };
|
prayer = callPackage ../servers/prayer { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user