Merge pull request #34367 from rnhmjoj/pdns

pdns-recursor: 4.0.8 -> 4.1.1
This commit is contained in:
Franz Pletz 2018-01-29 00:30:45 +00:00 committed by GitHub
commit 0e81697e0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,28 +1,25 @@
{ 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.8";
version = "4.1.1";
src = fetchurl {
url = "https://downloads.powerdns.com/releases/pdns-recursor-${version}.tar.bz2";
sha256 = "04v5y6mfdhn8ikigqmm3k5k0zz5l8d3k1a7ih464n1161q7z0vww";
sha256 = "0srrw726qpwg69v75dwbxab9hk73x1wia4rcnmf7g5qr2k3h7swg";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
boost openssl systemd
] ++ optional enableLua [ lua luajit ]
++ optional enableProtoBuf protobuf;
lua luajit
] ++ optional enableProtoBuf protobuf;
configureFlags = [
"--enable-reproducible"