@@ -745,6 +745,22 @@ let
745745 sha256 = "1rmm1ky7irqypqjkk6qcd2n0xkzpaggdxql9dp9i9qci5rvvwwd4";
746746 };
747747
748+ ethereum = buildFromGitHub rec {
749+ name = "ethereum";
750+ rev = "v1.4.1";
751+ goPackagePath = "github.com/ethereum/go-ethereum";
752+ owner = "ethereum";
753+ repo = "go-ethereum";
754+ sha256 = "0z6yzkk72g41dzqa52fizxqxqh349y1m9s3byfh9ixq5xy5fnjn3";
755+ preBuild = "export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace";
756+ postBuild = "rm $NIX_BUILD_TOP/go/bin/*test";
757+ meta = with stdenv.lib; {
758+ homepage = "https://ethereum.github.io/go-ethereum/";
759+ description = "Official golang implementation of the Ethereum protocol";
760+ license = with licenses; [ lgpl3 gpl3 ];
761+ };
762+ };
763+
748764 exercism = buildFromGitHub {
749765 rev = "v2.2.1";
750766 name = "exercism";