about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/blockchains/go-ethereum-classic/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/blockchains/go-ethereum-classic/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/blockchains/go-ethereum-classic/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/blockchains/go-ethereum-classic/default.nix b/nixpkgs/pkgs/applications/blockchains/go-ethereum-classic/default.nix
new file mode 100644
index 000000000000..ed8086f742f9
--- /dev/null
+++ b/nixpkgs/pkgs/applications/blockchains/go-ethereum-classic/default.nix
@@ -0,0 +1,24 @@
+{ lib, buildGoPackage, fetchgit }:
+
+buildGoPackage rec {
+  pname = "go-ethereum-classic";
+  version = "4.0.0";
+
+  goPackagePath = "github.com/ethereumproject/go-ethereum";
+  subPackages = [ "cmd/evm" "cmd/geth" ];
+
+  src = fetchgit {
+    rev = "v${version}";
+    url = "https://github.com/ethereumproject/go-ethereum";
+    sha256 = "06f1w7s45q4zva1xjrx92xinsdrixl0m6zhx5hvdjmg3xqcbwr79";
+  };
+
+  goDeps = ./deps.nix;
+
+  meta = {
+    description = "Golang implementation of Ethereum Classic";
+    homepage = https://github.com/ethereumproject/go-ethereum;
+    license = with lib.licenses; [ lgpl3 gpl3 ];
+    maintainers = with lib.maintainers; [ sorpaas ];
+  };
+}