tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
unbound: split into multiple outputs
Vladimír Čunát
10 years ago
252b3dcc
68530a4f
+12
-4
1 changed file
expand all
collapse all
unified
split
pkgs
tools
networking
unbound
default.nix
+12
-4
pkgs/tools/networking/unbound/default.nix
···
9
9
sha256 = "1jly2apag4yg649w3flaq73wdrcfyxnhx5py9j73y7adxmswigbn";
10
10
};
11
11
12
12
+
outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB
13
13
+
12
14
buildInputs = [ openssl expat libevent ];
13
15
14
16
configureFlags = [
···
21
23
22
24
installFlags = [ "configfile=\${out}/etc/unbound/unbound.conf" ];
23
25
24
24
-
meta = {
26
26
+
# get rid of runtime dependency
27
27
+
postInstall = ''
28
28
+
substituteInPlace "$lib/lib/libunbound.la" \
29
29
+
--replace '-L${openssl.dev}/lib' ""
30
30
+
'';
31
31
+
32
32
+
meta = with stdenv.lib; {
25
33
description = "Validating, recursive, and caching DNS resolver";
26
26
-
license = stdenv.lib.licenses.bsd3;
34
34
+
license = licenses.bsd3;
27
35
homepage = http://www.unbound.net;
28
28
-
maintainers = [ stdenv.lib.maintainers.emery ];
29
29
-
platforms = stdenv.lib.platforms.unix;
36
36
+
maintainers = [ maintainers.emery ];
37
37
+
platforms = platforms.unix;
30
38
};
31
39
}