depot/pkgs/by-name/md/mdns/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

30 lines
639 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
];
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;
};
}