mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
pdns-recursor: 4.0.8 -> 4.1.1
This commit is contained in:
parent
f381367603
commit
8853d4408b
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user