1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/servers/dns/pdns-recursor/default.nix
R. RyanTM d987f5d07d pdns-recursor: 4.1.2 -> 4.1.3 (#41049)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/pdns-recursor/versions.

These checks were done:

- built on NixOS
- /nix/store/8ifncdfxzi2s8cnhx7a2hj74h4mqq1vi-pdns-recursor-4.1.3/bin/rec_control passed the binary check.
- /nix/store/8ifncdfxzi2s8cnhx7a2hj74h4mqq1vi-pdns-recursor-4.1.3/bin/pdns_recursor passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 0 of 2 passed binary check by having the new version present in output.
- found 4.1.3 with grep in /nix/store/8ifncdfxzi2s8cnhx7a2hj74h4mqq1vi-pdns-recursor-4.1.3
- directory tree listing: https://gist.github.com/5eac7110d507381d1bcb747d44e175ba
- du listing: https://gist.github.com/4805d9a92ed57016e729c49cf2de1e3c
2018-06-01 22:49:49 +02:00

39 lines
897 B
Nix

{ stdenv, fetchurl, pkgconfig, boost
, openssl, systemd, lua, luajit, protobuf
, enableProtoBuf ? false
}:
assert enableProtoBuf -> protobuf != null;
with stdenv.lib;
stdenv.mkDerivation rec {
name = "pdns-recursor-${version}";
version = "4.1.3";
src = fetchurl {
url = "https://downloads.powerdns.com/releases/pdns-recursor-${version}.tar.bz2";
sha256 = "12x8gm6771wh2xaqad3p5y08p5pimp6k9h830s0487mwg9glacy1";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
boost openssl systemd
lua luajit
] ++ optional enableProtoBuf protobuf;
configureFlags = [
"--enable-reproducible"
"--with-systemd"
];
enableParallelBuilding = true;
meta = {
description = "A recursive DNS server";
homepage = https://www.powerdns.com/;
platforms = platforms.linux;
license = licenses.gpl2;
maintainers = with maintainers; [ rnhmjoj ];
};
}