summary refs log tree commit diff
path: root/pkgs/applications/blockchains/go-ethereum.nix
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-07-27 15:31:23 +0200
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-07-28 13:29:10 +0200
commit06a2b9fa9522fb9b52f5dc569a44a3c99f6a6838 (patch)
tree2c225fd97e63b775b742b9f5b48b0591199156ad /pkgs/applications/blockchains/go-ethereum.nix
parentabce989b6c9a5ce4fa2951e821978b84efd7d018 (diff)
downloadnixpkgs-06a2b9fa9522fb9b52f5dc569a44a3c99f6a6838.tar
nixpkgs-06a2b9fa9522fb9b52f5dc569a44a3c99f6a6838.tar.gz
nixpkgs-06a2b9fa9522fb9b52f5dc569a44a3c99f6a6838.tar.bz2
nixpkgs-06a2b9fa9522fb9b52f5dc569a44a3c99f6a6838.tar.lz
nixpkgs-06a2b9fa9522fb9b52f5dc569a44a3c99f6a6838.tar.xz
nixpkgs-06a2b9fa9522fb9b52f5dc569a44a3c99f6a6838.tar.zst
nixpkgs-06a2b9fa9522fb9b52f5dc569a44a3c99f6a6838.zip
pkgs/applications/blockchains: move packages into subdirs
Diffstat (limited to 'pkgs/applications/blockchains/go-ethereum.nix')
-rw-r--r--pkgs/applications/blockchains/go-ethereum.nix60
1 files changed, 0 insertions, 60 deletions
diff --git a/pkgs/applications/blockchains/go-ethereum.nix b/pkgs/applications/blockchains/go-ethereum.nix
deleted file mode 100644
index 28a7b22a24f..00000000000
--- a/pkgs/applications/blockchains/go-ethereum.nix
+++ /dev/null
@@ -1,60 +0,0 @@
-{ lib, stdenv, buildGoModule, fetchFromGitHub, libobjc, IOKit }:
-
-let
-  # A list of binaries to put into separate outputs
-  bins = [
-    "geth"
-    "clef"
-  ];
-
-in buildGoModule rec {
-  pname = "go-ethereum";
-  version = "1.10.6";
-
-  src = fetchFromGitHub {
-    owner = "ethereum";
-    repo = pname;
-    rev = "v${version}";
-    sha256 = "sha256-4lapkoxSKdXlD6rmUxnlSKrfH+DeV6/wV05CqJjuzjA=";
-  };
-
-  runVend = true;
-  vendorSha256 = "sha256-5qi01y0SIEI0WRYu2I2RN94QFS8rrlioFvnRqqp6wtk=";
-
-  doCheck = false;
-
-  outputs = [ "out" ] ++ bins;
-
-  # Move binaries to separate outputs and symlink them back to $out
-  postInstall = lib.concatStringsSep "\n" (
-    builtins.map (bin: "mkdir -p \$${bin}/bin && mv $out/bin/${bin} \$${bin}/bin/ && ln -s \$${bin}/bin/${bin} $out/bin/") bins
-  );
-
-  subPackages = [
-    "cmd/abidump"
-    "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"
-  ];
-
-  # Fix for usb-related segmentation faults on darwin
-  propagatedBuildInputs =
-    lib.optionals stdenv.isDarwin [ libobjc IOKit ];
-
-  meta = with lib; {
-    homepage = "https://geth.ethereum.org/";
-    description = "Official golang implementation of the Ethereum protocol";
-    license = with licenses; [ lgpl3Plus gpl3Plus ];
-    maintainers = with maintainers; [ adisbladis lionello xrelkd RaghavSood ];
-  };
-}