Merge pull request #15376 from chris-martin/go-ethereum

go-ethereum: init at 1.4.1

+16
+16
pkgs/top-level/go-packages.nix
··· 745 sha256 = "1rmm1ky7irqypqjkk6qcd2n0xkzpaggdxql9dp9i9qci5rvvwwd4"; 746 }; 747 748 exercism = buildFromGitHub { 749 rev = "v2.2.1"; 750 name = "exercism";
··· 745 sha256 = "1rmm1ky7irqypqjkk6qcd2n0xkzpaggdxql9dp9i9qci5rvvwwd4"; 746 }; 747 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 + 764 exercism = buildFromGitHub { 765 rev = "v2.2.1"; 766 name = "exercism";