2019-09-21 10:21:00 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2018-05-03 13:04:50 +01:00
|
|
|
|
2019-09-21 10:21:00 +01:00
|
|
|
buildGoPackage rec {
|
2019-05-18 12:09:55 +01:00
|
|
|
pname = "cointop";
|
2020-09-09 05:20:00 +01:00
|
|
|
version = "1.5.4";
|
2018-05-03 13:04:50 +01:00
|
|
|
|
2019-05-18 12:09:55 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "miguelmota";
|
|
|
|
repo = pname;
|
2020-09-09 05:20:00 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1gkrwh5g69mywlllszy310xpahr8rz8nghjjpiamd85djf1iz43b";
|
2018-05-03 13:04:50 +01:00
|
|
|
};
|
|
|
|
|
2019-09-21 10:21:00 +01:00
|
|
|
goPackagePath = "github.com/miguelmota/cointop";
|
2018-05-03 13:04:50 +01:00
|
|
|
|
2020-09-09 05:20:00 +01:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/cointop.version=${version}" ];
|
|
|
|
|
2019-05-18 12:09:55 +01:00
|
|
|
meta = with lib; {
|
2018-05-03 13:04:50 +01:00
|
|
|
description = "The fastest and most interactive terminal based UI application for tracking cryptocurrencies";
|
|
|
|
longDescription = ''
|
2019-05-18 12:09:55 +01: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 13:04:50 +01:00
|
|
|
|
2019-05-18 12:09:55 +01:00
|
|
|
The interface is inspired by htop and shortcut keys are inspired by vim.
|
2018-05-03 13:04:50 +01:00
|
|
|
'';
|
2019-05-18 12:09:55 +01:00
|
|
|
homepage = "https://cointop.sh";
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
license = licenses.asl20;
|
2018-05-03 13:04:50 +01:00
|
|
|
};
|
|
|
|
}
|