nixos-config/pkgs/yatto/default.nix
gwg313 ccf213f488
stuff
Signed-off-by: gwg313 <gwg313@pm.me>
2025-10-20 16:27:59 -04:00

32 lines
761 B
Nix

{
lib,
fetchFromGitHub,
buildGoModule,
}:
buildGoModule (finalAttrs: {
pname = "yatto";
version = "0.18.1";
src = fetchFromGitHub {
owner = "handlebargh";
repo = "yatto";
tag = "v${finalAttrs.version}";
hash = "sha256-GI/Q9lI6SqIOSYi5shMKlgegS8WdlWSFsPs7WLCB6Qg=";
};
vendorHash = "sha256-BqOuZUtyA7a8imzj3Oj1SUZ4k3kNjDYWiPlQRG9I0m8=";
ldflags = [
"-s"
"-w"
];
meta = {
description = "Terminal-based to-do application built with Bubble Tea";
homepage = "https://github.com/handlebargh/yatto";
changelog = "https://github.com/handlebargh/yatto/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ gwg313 ];
mainProgram = "yatto";
};
})