summary refs log tree commit diff
path: root/pkgs/applications/misc/cointop/default.nix
blob: 23d76afff0cef82ed2e200443fd62c962eef7b8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ stdenv, buildGoPackage, fetchgit }:

buildGoPackage rec {
  name    = "cointop-unstable-${version}";
  version = "2018-05-03";
  rev     = "08acd96082682347d458cd4f861e2debd3255745";

  goPackagePath = "github.com/miguelmota/cointop";

  src = fetchgit {
    inherit rev;
    url    = "https://github.com/miguelmota/cointop";
    sha256 = "14savz48wzrfpm12fgnnndpl3mpzx7wsch4jrnm3rmrfdabdx7mi";
  };

  goDeps = ./deps.nix;

  meta = {
    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;
    platforms = stdenv.lib.platforms.linux; # cannot test others
    maintainers = [ ];
    license = stdenv.lib.licenses.asl20;
  };
}