pdns-recursor: cleanup

This commit is contained in:
Sandro Jäckel 2021-03-05 03:47:13 +01:00
parent 3abe51bc8c
commit 9bbd026fcd
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -2,9 +2,6 @@
, openssl, systemd, lua, luajit, protobuf
, enableProtoBuf ? false
}:
assert enableProtoBuf -> protobuf != null;
with lib;
stdenv.mkDerivation rec {
pname = "pdns-recursor";
@ -19,7 +16,7 @@ stdenv.mkDerivation rec {
buildInputs = [
boost openssl systemd
lua luajit
] ++ optional enableProtoBuf protobuf;
] ++ lib.optional enableProtoBuf protobuf;
configureFlags = [
"--enable-reproducible"
@ -32,7 +29,7 @@ stdenv.mkDerivation rec {
nixos = nixosTests.pdns-recursor;
};
meta = {
meta = with lib; {
description = "A recursive DNS server";
homepage = "https://www.powerdns.com/";
platforms = platforms.linux;