stock-tui: init at 0.1.0

This commit is contained in:
ni5arga
2026-01-19 09:24:17 +05:30
parent 42ad003327
commit b64ef42534
+32
View File
@@ -0,0 +1,32 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule (finalAttrs: {
pname = "stock-tui";
version = "0.1.0";
src = fetchFromGitHub {
owner = "ni5arga";
repo = "stock-tui";
tag = "v${finalAttrs.version}";
hash = "sha256-5k24fBG0ZBr2JhVf30IGjLky087j203hZGEvtSzwUqQ=";
};
subPackages = [ "cmd/stock-tui" ];
vendorHash = "sha256-Use54AVRMZ9xYx8tQpcRN3th+MufuER3lCJ+JVPpYRU=";
passthru.updateScript = nix-update-script { };
meta = {
description = "Terminal-based stock and cryptocurrency price tracker";
homepage = "https://github.com/ni5arga/stock-tui";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ni5arga ];
mainProgram = "stock-tui";
};
})