Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
976 B
Nix
43 lines
976 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
openssl,
|
|
pkg-config,
|
|
rustPlatform,
|
|
nix-update-script,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "hickory-dns";
|
|
version = "0.25.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hickory-dns";
|
|
repo = "hickory-dns";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-sPVulok18WAWyCXDNJzjioCO733vHmCcC5SjYrs/T+E=";
|
|
};
|
|
|
|
cargoHash = "sha256-q54faGF/eLdCRB0Eljkgl/x78Fnpm0eAEK9gCUwiAgo=";
|
|
|
|
buildInputs = [ openssl ];
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
# tests expect internet connectivity to query real nameservers like 8.8.8.8
|
|
doCheck = false;
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Rust based DNS client, server, and resolver";
|
|
homepage = "https://hickory-dns.org/";
|
|
maintainers = with lib.maintainers; [ colinsane ];
|
|
platforms = lib.platforms.linux;
|
|
license = with lib.licenses; [
|
|
asl20
|
|
mit
|
|
];
|
|
mainProgram = "hickory-dns";
|
|
};
|
|
})
|