lol

unbound: split into multiple outputs

+12 -4
+12 -4
pkgs/tools/networking/unbound/default.nix
··· 9 9 sha256 = "1jly2apag4yg649w3flaq73wdrcfyxnhx5py9j73y7adxmswigbn"; 10 10 }; 11 11 12 + outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB 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 - meta = { 26 + # get rid of runtime dependency 27 + postInstall = '' 28 + substituteInPlace "$lib/lib/libunbound.la" \ 29 + --replace '-L${openssl.dev}/lib' "" 30 + ''; 31 + 32 + meta = with stdenv.lib; { 25 33 description = "Validating, recursive, and caching DNS resolver"; 26 - license = stdenv.lib.licenses.bsd3; 34 + license = licenses.bsd3; 27 35 homepage = http://www.unbound.net; 28 - maintainers = [ stdenv.lib.maintainers.emery ]; 29 - platforms = stdenv.lib.platforms.unix; 36 + maintainers = [ maintainers.emery ]; 37 + platforms = platforms.unix; 30 38 }; 31 39 }