Merge pull request #100061 from aanderse/powerdns

powerdns: update configure flags
This commit is contained in:
Aaron Andersen 2020-10-12 22:24:53 -04:00 committed by GitHub
commit 5872b64795
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig
, boost, libyamlcpp, libsodium, sqlite, protobuf, botan2, openssl
{ stdenv, fetchurl, pkgconfig, nixosTests
, boost, libyamlcpp, libsodium, sqlite, protobuf, openssl, systemd
, mysql57, postgresql, lua, openldap, geoip, curl, opendbx, unixODBC
}:
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
boost mysql57.connector-c postgresql lua openldap sqlite protobuf geoip
libyamlcpp libsodium curl opendbx unixODBC botan2 openssl
libyamlcpp libsodium curl opendbx unixODBC openssl systemd
];
# nix destroy with-modules arguments, when using configureFlags
@ -25,19 +25,23 @@ stdenv.mkDerivation rec {
--with-sqlite3
--with-socketdir=/var/lib/powerdns
--with-libcrypto=${openssl.dev}
--enable-libsodium
--enable-botan
--with-libsodium
--enable-tools
--disable-dependency-tracking
--disable-silent-rules
--enable-reproducible
--enable-unit-tests
--enable-systemd
)
'';
enableParallelBuilding = true;
doCheck = true;
passthru.tests = {
nixos = nixosTests.powerdns;
};
meta = with stdenv.lib; {
description = "Authoritative DNS server";
homepage = "https://www.powerdns.com";