nixpkgs/pkgs/applications/misc/terminal-stocks/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
738 B
Nix
Raw Normal View History

2023-01-19 14:58:42 +00:00
{ lib, buildNpmPackage, fetchFromGitHub, nix-update-script }:
buildNpmPackage rec {
pname = "terminal-stocks";
2023-05-12 11:50:57 +00:00
version = "1.0.16";
2023-01-19 14:58:42 +00:00
src = fetchFromGitHub {
owner = "shweshi";
repo = pname;
rev = "v${version}";
2023-05-12 11:50:57 +00:00
hash = "sha256-tu6SKeTVEqIqDJXimoSkMK9+l0uGqWSrlIO0KHoROSQ=";
2023-01-19 14:58:42 +00:00
};
2023-05-12 11:50:57 +00:00
npmDepsHash = "sha256-13RiEBLhmKW04Tesg1s7c9rCYtRGOd/prnVARb6jpGQ=";
2023-01-19 14:58:42 +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-11 02:19:15 +00:00
mainProgram = "terminal-stocks";
2023-01-19 14:58:42 +00:00
};
}