zuse: init at 1.0

This commit is contained in:
Yiyu Zhou
2025-08-01 05:01:37 -07:00
parent 2ea007a23b
commit 784b2d38e8
+36
View File
@@ -0,0 +1,36 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule (finalAttrs: {
pname = "zuse";
version = "1.0";
src = fetchFromGitHub {
owner = "babycommando";
repo = "zuse";
tag = "v${finalAttrs.version}";
hash = "sha256-zKAAHvbaR1HnRe6CmAEi/6iAOHCcbGVS1/jSrQwksRk=";
};
vendorHash = "sha256-P7T244d1OpFDqwRu3gdEI1OAqq9EbpL1YO2mlTw0Jew=";
ldflags = [
"-s"
"-w"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "IRC client for the terminal made in Go with Bubbletea";
homepage = "https://github.com/babycommando/zuse";
changelog = "https://github.com/babycommando/zuse/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ yiyu ];
mainProgram = "zuse";
};
})