1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 16:11:58 +00:00
nixpkgs/pkgs/servers/dns/dnsdist/default.nix
R. RyanTM b067f54661 dnsdist: 1.3.0 -> 1.3.2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/dnsdist/versions.
2018-07-13 04:36:26 -07:00

36 lines
950 B
Nix

{ stdenv, fetchurl, pkgconfig, systemd
, boost, libsodium, libedit, re2
, net_snmp, lua, protobuf, openssl }: stdenv.mkDerivation rec {
name = "dnsdist-${version}";
version = "1.3.2";
src = fetchurl {
url = "https://downloads.powerdns.com/releases/dnsdist-${version}.tar.bz2";
sha256 = "1i3b1vpk9a8zbx9aby2s1ckkzhlvzgn11hcgj3b8x2j1b9771rqb";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ systemd boost libsodium libedit re2 net_snmp lua protobuf openssl ];
configureFlags = [
"--enable-libsodium"
"--enable-re2"
"--enable-dnscrypt"
"--enable-dns-over-tls"
"--with-protobuf=yes"
"--with-net-snmp"
"--disable-dependency-tracking"
"--enable-unit-tests"
"--enable-systemd"
];
doCheck = true;
meta = with stdenv.lib; {
description = "DNS Loadbalancer";
homepage = "https://dnsdist.org";
license = licenses.gpl2;
maintainers = with maintainers; [ das_j ];
};
}