diff --git a/pkgs/by-name/ya/yatto/package.nix b/pkgs/by-name/ya/yatto/package.nix new file mode 100644 index 000000000000..4ce3cba28c97 --- /dev/null +++ b/pkgs/by-name/ya/yatto/package.nix @@ -0,0 +1,32 @@ +{ + 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"; + }; +})