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
37 lines
761 B
Nix
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;
|
|
};
|
|
}
|