2023-01-20 10:41:00 +00:00
|
|
|
{ lib, buildNpmPackage, fetchFromGitHub, nix-update-script }:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "terminal-stocks";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "1.0.17";
|
2023-01-20 10:41:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "shweshi";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-hCKUUISn/TIr2o3ZtG2kSTgmUCut4NVzIzfIrg84PYI=";
|
2023-01-20 10:41:00 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
npmDepsHash = "sha256-t71SfoPYVFLWcrjv2ErWazDeaVTO4W46g4lFler86Sc=";
|
2023-01-20 10:41:00 +00:00
|
|
|
dontNpmBuild = true;
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script {};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Terminal based application that provides stock price information";
|
|
|
|
homepage = "https://github.com/shweshi/terminal-stocks";
|
|
|
|
maintainers = with maintainers; [ mislavzanic ];
|
|
|
|
license = licenses.mit;
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "terminal-stocks";
|
2023-01-20 10:41:00 +00:00
|
|
|
};
|
|
|
|
}
|