nixos-config/pkgs/go-avahi-cname/default.nix

24 lines
643 B
Nix
Raw Normal View History

2025-01-07 13:29:27 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "go-avahi-cname";
version = "2.0.6";
src = fetchFromGitHub {
owner = "grishy";
repo = "go-avahi-cname";
rev = "v${version}";
hash = "sha256-hOX7/9mgWkdm6Rwe5zg0n4WC6y4erilMP5QPEWVSadI=";
};
vendorHash = "sha256-EmEnnENKzWUY5djFZlKWNFLkyZ1hzNW+4HF0ui45GjI=";
meta = with lib; {
homepage = "https://github.com/grishy/go-avahi-cname";
license = licenses.mit;
description = "Lightweight mDNS publisher of subdomains for your machine";
mainProgram = "go-avahi-cname";
maintainers = with maintainers; [ foo-dogsquared ];
};
}