Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
gwg313 2025-10-20 16:27:59 -04:00
parent df6ce81c30
commit ccf213f488
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
7 changed files with 157 additions and 116 deletions

View file

@ -4,5 +4,6 @@
{
# example = pkgs.callPackage ./example { };
# sesh = pkgs.callPackage ./sesh {};
yatto = pkgs.callPackage ./yatto { };
ceserver = pkgs.callPackage ./ceserver { };
}

32
pkgs/yatto/default.nix Normal file
View file

@ -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";
};
})