Unverified Commit 5d6e1bc9 authored by isabel's avatar isabel Committed by GitHub
Browse files

stock-tui: init at 0.1.0 (#480913)

parents 504dfadc b64ef425
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -18848,6 +18848,12 @@
    githubId = 10180857;
    name = "Anmol Sethi";
  };
  ni5arga = {
    email = "hello@ni5arga.com";
    github = "ni5arga";
    githubId = 45588772;
    name = "Nisarga Adhikary";
  };
  nialov = {
    email = "nikolasovaskainen@gmail.com";
    github = "nialov";
+32 −0
Original line number Diff line number Diff line
{
  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";
  };
})