pkgs/go-avahi-cname: init

This commit is contained in:
Gabriel Arazas 2025-01-07 21:29:27 +08:00
parent 2bc63930aa
commit abcbb46cac
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 24 additions and 0 deletions

View File

@ -23,6 +23,7 @@ in lib.makeScope pkgs.newScope (self: {
distant = callPackage ./distant.nix { };
gnome-search-provider-recoll =
callPackage ./gnome-search-provider-recoll.nix { };
go-avahi-cname = callPackage ./go-avahi-cname { };
hush-shell = callPackage ./hush-shell.nix { };
lazyjj = callPackage ./lazyjj { };
lwp = callPackage ./lwp { };

View File

@ -0,0 +1,23 @@
{ 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 ];
};
}