nixpkgs-suyu/pkgs/applications/misc/cointop/default.nix

32 lines
931 B
Nix
Raw Normal View History

2019-09-21 11:21:00 +02:00
{ lib, buildGoPackage, fetchFromGitHub }:
2018-05-03 14:04:50 +02:00
2019-09-21 11:21:00 +02:00
buildGoPackage rec {
pname = "cointop";
2021-09-15 10:49:58 +02:00
version = "1.6.8";
2018-05-03 14:04:50 +02:00
src = fetchFromGitHub {
owner = "miguelmota";
repo = pname;
2020-09-09 06:20:00 +02:00
rev = "v${version}";
2021-09-15 10:49:58 +02:00
sha256 = "sha256-uENfTj+pJjX4t+yrd7zrn3LHRbJJSZFCN1N6Ce47wcE=";
2018-05-03 14:04:50 +02:00
};
2019-09-21 11:21:00 +02:00
goPackagePath = "github.com/miguelmota/cointop";
2018-05-03 14:04:50 +02:00
2021-08-26 05:31:57 +02:00
ldflags = [ "-s" "-w" "-X ${goPackagePath}/cointop.version=${version}" ];
2020-09-09 06:20:00 +02:00
meta = with lib; {
2018-05-03 14:04:50 +02:00
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.
2018-05-03 14:04:50 +02:00
The interface is inspired by htop and shortcut keys are inspired by vim.
2018-05-03 14:04:50 +02:00
'';
homepage = "https://cointop.sh";
maintainers = [ maintainers.marsam ];
license = licenses.asl20;
2018-05-03 14:04:50 +02:00
};
}