stuff
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
df6ce81c30
commit
ccf213f488
7 changed files with 157 additions and 116 deletions
|
|
@ -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
32
pkgs/yatto/default.nix
Normal 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";
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue