Merge pull request #317046 from GeoffreyFrogeye/massdns

This commit is contained in:
Sandro 2024-06-06 22:42:51 +02:00 committed by GitHub
commit ec3b79f651
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 46 additions and 0 deletions

View File

@ -7419,6 +7419,16 @@
fingerprint = "386E D1BF 848A BB4A 6B4A 3C45 FC83 907C 125B C2BC";
}];
};
geoffreyfrogeye = {
name = "Geoffrey Frogeye";
email = "geoffrey@frogeye.fr";
matrix = "@geoffrey:frogeye.fr";
github = "GeoffreyFrogeye";
githubId = 1685403;
keys = [{
fingerprint = "4FBA 930D 314A 0321 5E2C DB0A 8312 C8CA C1BA C289";
}];
};
georgesalkhouri = {
name = "Georges Alkhouri";
email = "incense.stitch_0w@icloud.com";

View File

@ -0,0 +1,36 @@
{ stdenv
, lib
, fetchFromGitHub
, nix-update-script
}:
stdenv.mkDerivation rec {
pname = "massdns";
version = "1.1.0";
src = fetchFromGitHub {
owner = "blechschmidt";
repo = "massdns";
rev = "v${version}";
hash = "sha256-hrnAg5ErPt93RV4zobRGVtcKt4aM2tC52r08T7+vRGc=";
};
makeFlags = [
"PREFIX=$(out)"
"PROJECT_FLAGS=-DMASSDNS_REVISION='\"v${version}\"'"
];
buildFlags = if stdenv.isLinux then "all" else "nolinux";
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Resolve large amounts of domain names";
homepage = "https://github.com/blechschmidt/massdns";
changelog = "https://github.com/blechschmidt/massdns/releases/tag/v${version}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ geoffreyfrogeye ];
mainProgram = "massdns";
platforms = platforms.all;
# error: use of undeclared identifier 'MSG_NOSIGNAL'
badPlatforms = platforms.darwin;
};
}