about summary refs log tree commit diff
path: root/pkgs/applications/misc/cointop
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-09-09 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2020-09-09 04:20:00 +0000
commit494cdb03319be81cf6746e28e54b5fb97bb51414 (patch)
treed94e35102e32d929b84abc8c923336fcbf380160 /pkgs/applications/misc/cointop
parentb03c729c88dadfcab53019d4d7a7db9899fb6ad6 (diff)
cointop: 1.4.6 -> 1.5.4
Diffstat (limited to 'pkgs/applications/misc/cointop')
-rw-r--r--pkgs/applications/misc/cointop/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/misc/cointop/default.nix b/pkgs/applications/misc/cointop/default.nix
index 8d91531dd1f84..a74a3962996b3 100644
--- a/pkgs/applications/misc/cointop/default.nix
+++ b/pkgs/applications/misc/cointop/default.nix
@@ -2,17 +2,19 @@
 
 buildGoPackage rec {
   pname = "cointop";
-  version = "1.4.6";
+  version = "1.5.4";
 
   src = fetchFromGitHub {
     owner = "miguelmota";
     repo = pname;
-    rev = version;
-    sha256 = "1mkb97x73vzxnbvhnxx3msicr1z0b3sjmydx257ax3nscrmf1l5z";
+    rev = "v${version}";
+    sha256 = "1gkrwh5g69mywlllszy310xpahr8rz8nghjjpiamd85djf1iz43b";
   };
 
   goPackagePath = "github.com/miguelmota/cointop";
 
+  buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/cointop.version=${version}" ];
+
   meta = with lib; {
     description = "The fastest and most interactive terminal based UI application for tracking cryptocurrencies";
     longDescription = ''