pdns-recursor: cleanup
This commit is contained in:
parent
3abe51bc8c
commit
9bbd026fcd
@ -2,9 +2,6 @@
|
|||||||
, openssl, systemd, lua, luajit, protobuf
|
, openssl, systemd, lua, luajit, protobuf
|
||||||
, enableProtoBuf ? false
|
, enableProtoBuf ? false
|
||||||
}:
|
}:
|
||||||
assert enableProtoBuf -> protobuf != null;
|
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pdns-recursor";
|
pname = "pdns-recursor";
|
||||||
@ -19,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
boost openssl systemd
|
boost openssl systemd
|
||||||
lua luajit
|
lua luajit
|
||||||
] ++ optional enableProtoBuf protobuf;
|
] ++ lib.optional enableProtoBuf protobuf;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-reproducible"
|
"--enable-reproducible"
|
||||||
@ -32,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||||||
nixos = nixosTests.pdns-recursor;
|
nixos = nixosTests.pdns-recursor;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "A recursive DNS server";
|
description = "A recursive DNS server";
|
||||||
homepage = "https://www.powerdns.com/";
|
homepage = "https://www.powerdns.com/";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user