5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
26 lines
738 B
Nix
26 lines
738 B
Nix
{ lib, buildNpmPackage, fetchFromGitHub, nix-update-script }:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "terminal-stocks";
|
|
version = "1.0.17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "shweshi";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-hCKUUISn/TIr2o3ZtG2kSTgmUCut4NVzIzfIrg84PYI=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-t71SfoPYVFLWcrjv2ErWazDeaVTO4W46g4lFler86Sc=";
|
|
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;
|
|
mainProgram = "terminal-stocks";
|
|
};
|
|
}
|