tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
pdns-recursor: init at 4.0.4
rnhmjoj
9 years ago
d79ea39d
fc8233a6
+40
2 changed files
expand all
collapse all
unified
split
pkgs
servers
dns
pdns-recursor
default.nix
top-level
all-packages.nix
+38
pkgs/servers/dns/pdns-recursor/default.nix
···
1
1
+
{ stdenv, fetchurl, pkgconfig, boost
2
2
+
, openssl, systemd, lua, luajit, protobuf
3
3
+
, enableLua ? false
4
4
+
, enableProtoBuf ? false
5
5
+
}:
6
6
+
7
7
+
assert enableLua -> lua != null && luajit != null;
8
8
+
assert enableProtoBuf -> protobuf != null;
9
9
+
10
10
+
with stdenv.lib;
11
11
+
12
12
+
stdenv.mkDerivation rec {
13
13
+
name = "pdns-recursor-${version}";
14
14
+
version = "4.0.4";
15
15
+
16
16
+
src = fetchurl {
17
17
+
url = "https://downloads.powerdns.com/releases/pdns-recursor-${version}.tar.bz2";
18
18
+
sha256 = "0k8y9zxj2lz4rq782vgzr28yd43q0hwlnvszwq0k9l6c967pff13";
19
19
+
};
20
20
+
21
21
+
buildInputs = [
22
22
+
boost openssl pkgconfig systemd
23
23
+
] ++ optional enableLua [ lua luajit ]
24
24
+
++ optional enableProtoBuf protobuf;
25
25
+
26
26
+
configureFlags = [
27
27
+
"--enable-reproducible"
28
28
+
"--with-systemd"
29
29
+
];
30
30
+
31
31
+
meta = {
32
32
+
description = "A recursive DNS server";
33
33
+
homepage = http://www.powerdns.com/;
34
34
+
platforms = platforms.linux;
35
35
+
license = licenses.gpl2;
36
36
+
maintainers = with maintainers; [ rnhmjoj ];
37
37
+
};
38
38
+
}
+2
pkgs/top-level/all-packages.nix
···
11666
11666
11667
11667
powerdns = callPackage ../servers/dns/powerdns { };
11668
11668
11669
11669
+
pdns-recursor = callPackage ../servers/dns/pdns-recursor { };
11670
11670
+
11669
11671
powertop = callPackage ../os-specific/linux/powertop { };
11670
11672
11671
11673
prayer = callPackage ../servers/prayer { };