depot/third_party/nixpkgs/pkgs/applications/misc/terminal-stocks/default.nix
Default email eaf6957cd3 Project import generated by Copybara.
GitOrigin-RevId: 4bb072f0a8b267613c127684e099a70e1f6ff106
2023-03-27 12:17:25 -07:00

25 lines
701 B
Nix

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