Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
32 lines
760 B
Nix
32 lines
760 B
Nix
{
|
|
lib,
|
|
buildNpmPackage,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "terminal-stocks";
|
|
version = "1.0.20";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "shweshi";
|
|
repo = "terminal-stocks";
|
|
rev = "v${version}";
|
|
hash = "sha256-YrdOw5le+gR8eANS57/uSGwrBfRJiLNkTR8InrEAI7o=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-TAS7iPWXXLaDosM31WYpeXC2Gz01fucoFu7llwBHmxc=";
|
|
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";
|
|
};
|
|
}
|