pdns-recursor: 4.0.8 -> 4.1.1

This commit is contained in:
rnhmjoj 2018-01-29 00:57:05 +01:00
parent f381367603
commit 8853d4408b
No known key found for this signature in database
GPG Key ID: 91BE884FBA4B591A

View File

@ -1,28 +1,25 @@
{ stdenv, fetchurl, pkgconfig, boost { stdenv, fetchurl, pkgconfig, boost
, openssl, systemd, lua, luajit, protobuf , openssl, systemd, lua, luajit, protobuf
, enableLua ? false
, enableProtoBuf ? false , enableProtoBuf ? false
}: }:
assert enableLua -> lua != null && luajit != null;
assert enableProtoBuf -> protobuf != null; assert enableProtoBuf -> protobuf != null;
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "pdns-recursor-${version}"; name = "pdns-recursor-${version}";
version = "4.0.8"; version = "4.1.1";
src = fetchurl { src = fetchurl {
url = "https://downloads.powerdns.com/releases/pdns-recursor-${version}.tar.bz2"; url = "https://downloads.powerdns.com/releases/pdns-recursor-${version}.tar.bz2";
sha256 = "04v5y6mfdhn8ikigqmm3k5k0zz5l8d3k1a7ih464n1161q7z0vww"; sha256 = "0srrw726qpwg69v75dwbxab9hk73x1wia4rcnmf7g5qr2k3h7swg";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ buildInputs = [
boost openssl systemd boost openssl systemd
] ++ optional enableLua [ lua luajit ] lua luajit
++ optional enableProtoBuf protobuf; ] ++ optional enableProtoBuf protobuf;
configureFlags = [ configureFlags = [
"--enable-reproducible" "--enable-reproducible"