Files
nixpkgs/pkgs/by-name/md/mdns/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

37 lines
761 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation rec {
pname = "mdns";
version = "1.4.3";
src = fetchFromGitHub {
owner = "mjansson";
repo = "mdns";
rev = version;
hash = "sha256-2uv+Ibnbl6hsdjFqPhcHXbv+nIEIT4+tgtwGndpZCqo=";
};
nativeBuildInputs = [
cmake
];
cmakeFlags = [
# Fix configure with cmake4
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
];
meta = with lib; {
description = "Public domain mDNS/DNS-SD library in C";
homepage = "https://github.com/mjansson/mdns";
changelog = "https://github.com/mjansson/mdns/blob/${src.rev}/CHANGELOG";
license = licenses.unlicense;
maintainers = with maintainers; [ hexa ];
platforms = platforms.all;
};
}