From dcbb218c0c5d7944d11b0c0ea3aebb74c3bb5d05 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Sat, 6 Feb 2021 23:46:47 +0700 Subject: [PATCH] ticker: init at 3.0.0 --- pkgs/applications/misc/ticker/default.nix | 25 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/applications/misc/ticker/default.nix diff --git a/pkgs/applications/misc/ticker/default.nix b/pkgs/applications/misc/ticker/default.nix new file mode 100644 index 000000000000..f5c35d530e04 --- /dev/null +++ b/pkgs/applications/misc/ticker/default.nix @@ -0,0 +1,25 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "ticker"; + version = "3.0.0"; + + src = fetchFromGitHub { + owner = "achannarasappa"; + repo = "ticker"; + rev = "v${version}"; + sha256 = "sha256-k4ahoaEI2HBoEcRQscpitp2tWsiWmSYaErnth99xOqw="; + }; + + vendorSha256 = "sha256-8Ew+K/uTFoBAhPQwebtjl6bJPiSEE3PaZCYZsQLOMkw="; + + # Tests require internet + doCheck = false; + + meta = with lib; { + description = "Terminal stock ticker with live updates and position tracking"; + homepage = "https://github.com/achannarasappa/ticker"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ siraben ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a6795b78bff7..8ae8c9e02b1f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25289,6 +25289,8 @@ in ticpp = callPackage ../development/libraries/ticpp { }; + ticker = callPackage ../applications/misc/ticker { }; + tickrs = callPackage ../applications/misc/tickrs { inherit (darwin.apple_sdk.frameworks) Security; };