2022-02-10 20:34:41 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "cointop";
|
2021-12-21 02:18:32 +00:00
|
|
|
version = "1.6.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "miguelmota";
|
|
|
|
repo = pname;
|
2020-09-25 04:45:31 +00:00
|
|
|
rev = "v${version}";
|
2021-12-21 02:18:32 +00:00
|
|
|
sha256 = "sha256-NAw1uoBL/FnNLJ86L9aBCOY65aJn1DDGK0Cd0IO2kr0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = null;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-21 02:18:32 +00:00
|
|
|
ldflags = [ "-s" "-w" ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "The fastest and most interactive terminal based UI application for tracking cryptocurrencies";
|
|
|
|
longDescription = ''
|
|
|
|
cointop is a fast and lightweight interactive terminal based UI
|
|
|
|
application for tracking and monitoring cryptocurrency coin stats in
|
|
|
|
real-time.
|
|
|
|
|
|
|
|
The interface is inspired by htop and shortcut keys are inspired by vim.
|
|
|
|
'';
|
|
|
|
homepage = "https://cointop.sh";
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|