2023-01-20 10:41:00 +00:00
|
|
|
{ lib, buildNpmPackage, fetchFromGitHub, nix-update-script }:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "terminal-stocks";
|
2023-03-27 19:17:25 +00:00
|
|
|
version = "1.0.15";
|
2023-01-20 10:41:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "shweshi";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-03-27 19:17:25 +00:00
|
|
|
hash = "sha256-8n+Wpkiy+XTaIBO7nuxO2m3EkkaHsmYNqtUqMin6leg=";
|
2023-01-20 10:41:00 +00:00
|
|
|
};
|
|
|
|
|
2023-03-27 19:17:25 +00:00
|
|
|
npmDepsHash = "sha256-M9a33v1R/cAgUJJLHwPs8hpPtjzzKkMps/ACnWLqUZE=";
|
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;
|
|
|
|
};
|
|
|
|
}
|