6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
11 owner = "blechschmidt";
14 hash = "sha256-hrnAg5ErPt93RV4zobRGVtcKt4aM2tC52r08T7+vRGc=";
19 "PROJECT_FLAGS=-DMASSDNS_REVISION='\"v${version}\"'"
21 buildFlags = if stdenv.hostPlatform.isLinux then "all" else "nolinux";
23 passthru.updateScript = nix-update-script { };
26 description = "Resolve large amounts of domain names";
27 homepage = "https://github.com/blechschmidt/massdns";
28 changelog = "https://github.com/blechschmidt/massdns/releases/tag/v${version}";
29 license = licenses.gpl3Only;
30 maintainers = with maintainers; [ geoffreyfrogeye ];
31 mainProgram = "massdns";
32 platforms = platforms.all;
33 # error: use of undeclared identifier 'MSG_NOSIGNAL'
34 badPlatforms = platforms.darwin;