summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/misc/cointop
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-05-18 13:09:55 +0200
committerMario Rodas <marsam@users.noreply.github.com>2019-05-23 17:59:17 -0500
commit105d274058888fdb223bb4cdff6c43c32b86eee1 (patch)
treede913b9e7f370d4741f6459bfab50e21fddd0b2d /pkgs/applications/misc/cointop
parentd8d85a2cd274aa464ab2c3236ef94deea96e931f (diff)
cointop: 2018-05-03 -> 1.2.0
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'pkgs/applications/misc/cointop')
-rw-r--r--pkgs/applications/misc/cointop/default.nix38
-rw-r--r--pkgs/applications/misc/cointop/deps.nix3
2 files changed, 18 insertions, 23 deletions
diff --git a/pkgs/applications/misc/cointop/default.nix b/pkgs/applications/misc/cointop/default.nix
index e1fcbbfe13c2..b973c73c0dd8 100644
--- a/pkgs/applications/misc/cointop/default.nix
+++ b/pkgs/applications/misc/cointop/default.nix
@@ -1,31 +1,29 @@
-{ stdenv, buildGoPackage, fetchgit }:
+{ lib, buildGoModule, fetchFromGitHub }:
-buildGoPackage rec {
- name = "cointop-unstable-${version}";
- version = "2018-05-03";
- rev = "08acd96082682347d458cd4f861e2debd3255745";
+buildGoModule rec {
+ pname = "cointop";
+ version = "1.2.0";
- goPackagePath = "github.com/miguelmota/cointop";
-
- src = fetchgit {
- inherit rev;
- url = "https://github.com/miguelmota/cointop";
- sha256 = "14savz48wzrfpm12fgnnndpl3mpzx7wsch4jrnm3rmrfdabdx7mi";
+ src = fetchFromGitHub {
+ owner = "miguelmota";
+ repo = pname;
+ rev = version;
+ sha256 = "1vhsbk55rrsmnh9b3cxjiv1pzdiip54cyj31j4aj33vlr4hkampn";
};
- goDeps = ./deps.nix;
+ modSha256 = "0vvypp97b3bjwxb96hajpjzr52sb5lc4r3zdkrdgg3vjwwacjwsn";
- meta = {
+ 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.
+ 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.
+ The interface is inspired by htop and shortcut keys are inspired by vim.
'';
- homepage = https://cointop.sh;
- platforms = stdenv.lib.platforms.unix; # cannot test others
- maintainers = [ ];
- license = stdenv.lib.licenses.asl20;
+ homepage = "https://cointop.sh";
+ maintainers = [ maintainers.marsam ];
+ license = licenses.asl20;
};
}
diff --git a/pkgs/applications/misc/cointop/deps.nix b/pkgs/applications/misc/cointop/deps.nix
deleted file mode 100644
index 3ba1d12a8048..000000000000
--- a/pkgs/applications/misc/cointop/deps.nix
+++ /dev/null
@@ -1,3 +0,0 @@
-# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
-[
-]