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";
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = with maintainers; [ sarcasticadmin ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.asl20;
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "cointop";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|