2022-02-04 12:16:47 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
2018-05-03 12:04:50 +00:00
|
|
|
|
2022-02-04 12:16:47 +00:00
|
|
|
buildGoModule rec {
|
2019-05-18 11:09:55 +00:00
|
|
|
pname = "cointop";
|
2021-12-19 15:11:17 +00:00
|
|
|
version = "1.6.10";
|
2018-05-03 12:04:50 +00:00
|
|
|
|
2019-05-18 11:09:55 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "miguelmota";
|
|
|
|
repo = pname;
|
2020-09-09 04:20:00 +00:00
|
|
|
rev = "v${version}";
|
2021-12-19 15:11:17 +00:00
|
|
|
sha256 = "sha256-NAw1uoBL/FnNLJ86L9aBCOY65aJn1DDGK0Cd0IO2kr0=";
|
2018-05-03 12:04:50 +00:00
|
|
|
};
|
|
|
|
|
2023-09-21 17:11:11 +00:00
|
|
|
vendorHash = null;
|
2018-05-03 12:04:50 +00:00
|
|
|
|
2021-12-19 15:11:17 +00:00
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
];
|
2020-09-09 04:20:00 +00:00
|
|
|
|
2019-05-18 11:09:55 +00:00
|
|
|
meta = with lib; {
|
2018-05-03 12:04:50 +00:00
|
|
|
description = "Fastest and most interactive terminal based UI application for tracking cryptocurrencies";
|
|
|
|
longDescription = ''
|
2019-05-18 11:09:55 +00:00
|
|
|
cointop is a fast and lightweight interactive terminal based UI
|
|
|
|
application for tracking and monitoring cryptocurrency coin stats in
|
|
|
|
real-time.
|
2018-05-03 12:04:50 +00:00
|
|
|
|
2019-05-18 11:09:55 +00:00
|
|
|
The interface is inspired by htop and shortcut keys are inspired by vim.
|
2018-05-03 12:04:50 +00:00
|
|
|
'';
|
2019-05-18 11:09:55 +00:00
|
|
|
homepage = "https://cointop.sh";
|
2024-04-26 17:09:20 +00:00
|
|
|
maintainers = with maintainers; [ sarcasticadmin ];
|
2019-05-18 11:09:55 +00:00
|
|
|
license = licenses.asl20;
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "cointop";
|
2018-05-03 12:04:50 +00:00
|
|
|
};
|
|
|
|
}
|