summary refs log tree commit diff
path: root/pkgs/applications/blockchains
diff options
context:
space:
mode:
authorxrelkd <46590321+xrelkd@users.noreply.github.com>2019-11-27 08:18:34 +0800
committerxrelkd <46590321+xrelkd@users.noreply.github.com>2019-11-27 08:52:01 +0800
commit1e042e9338486e23a33b2770d7e477060cafa0f2 (patch)
tree99158600c18cfd49d8527c12ab3472bf5f83af22 /pkgs/applications/blockchains
parent6d7145b96666e828d868d3b226f0141c44e89849 (diff)
downloadnixpkgs-1e042e9338486e23a33b2770d7e477060cafa0f2.tar
nixpkgs-1e042e9338486e23a33b2770d7e477060cafa0f2.tar.gz
nixpkgs-1e042e9338486e23a33b2770d7e477060cafa0f2.tar.bz2
nixpkgs-1e042e9338486e23a33b2770d7e477060cafa0f2.tar.lz
nixpkgs-1e042e9338486e23a33b2770d7e477060cafa0f2.tar.xz
nixpkgs-1e042e9338486e23a33b2770d7e477060cafa0f2.tar.zst
nixpkgs-1e042e9338486e23a33b2770d7e477060cafa0f2.zip
go-ethereum: 1.9.7 -> 1.9.8
Diffstat (limited to 'pkgs/applications/blockchains')
-rw-r--r--pkgs/applications/blockchains/go-ethereum.nix37
1 files changed, 27 insertions, 10 deletions
diff --git a/pkgs/applications/blockchains/go-ethereum.nix b/pkgs/applications/blockchains/go-ethereum.nix
index fe7a5f991dd..cfdb8dbdc60 100644
--- a/pkgs/applications/blockchains/go-ethereum.nix
+++ b/pkgs/applications/blockchains/go-ethereum.nix
@@ -1,22 +1,39 @@
-{ stdenv, buildGoPackage, fetchFromGitHub, libobjc, IOKit }:
+{ stdenv, buildGoModule, fetchFromGitHub, libobjc, IOKit }:
 
-buildGoPackage rec {
+buildGoModule rec {
   pname = "go-ethereum";
-  version = "1.9.7";
-
-  goPackagePath = "github.com/ethereum/go-ethereum";
-
-  # Fix for usb-related segmentation faults on darwin
-  propagatedBuildInputs =
-    stdenv.lib.optionals stdenv.isDarwin [ libobjc IOKit ];
+  version = "1.9.8";
 
   src = fetchFromGitHub {
     owner = "ethereum";
     repo = pname;
     rev = "v${version}";
-    sha256 = "07110dj91wmkpwz7iy0lmxx3y9wjxjrhk3rhkfdil74cxm0wkkn2";
+    sha256 = "0v4hchy6h3282347ps11iv7klcr60bmghha78rnp0iqpx2k8pqb4";
   };
 
+  modSha256 = "1l10p6a4qq77pfx7jmipkcg2qg6w3hg83q5a37yid3apily2scfa";
+
+  subPackages = [
+    "cmd/abigen"
+    "cmd/bootnode"
+    "cmd/checkpoint-admin"
+    "cmd/clef"
+    "cmd/devp2p"
+    "cmd/ethkey"
+    "cmd/evm"
+    "cmd/faucet"
+    "cmd/geth"
+    "cmd/p2psim"
+    "cmd/puppeth"
+    "cmd/rlpdump"
+    "cmd/utils"
+    "cmd/wnode"
+  ];
+
+  # Fix for usb-related segmentation faults on darwin
+  propagatedBuildInputs =
+    stdenv.lib.optionals stdenv.isDarwin [ libobjc IOKit ];
+
   meta = with stdenv.lib; {
     homepage = "https://geth.ethereum.org/";
     description = "Official golang implementation of the Ethereum protocol";