2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "cointop";
|
2021-03-12 07:09:13 +00:00
|
|
|
version = "1.6.3";
|
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-03-12 07:09:13 +00:00
|
|
|
sha256 = "sha256-h4102oWYSuY4uq/Pyo9u25Pdsai7AK2W9yUmS/zdjrw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
goPackagePath = "github.com/miguelmota/cointop";
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/cointop.version=${version}" ];
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|