3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/altcoins/go-ethereum.nix

24 lines
624 B
Nix
Raw Normal View History

2017-07-05 14:27:28 +01:00
{ stdenv, lib, clang, buildGoPackage, fetchgit }:
2016-07-21 00:33:39 +01:00
2017-07-05 14:27:28 +01:00
buildGoPackage rec {
2016-07-21 00:33:39 +01:00
name = "go-ethereum-${version}";
2017-07-05 14:27:28 +01:00
version = "1.6.6";
2016-07-21 00:33:39 +01:00
rev = "refs/tags/v${version}";
goPackagePath = "github.com/ethereum/go-ethereum";
2017-07-05 14:27:28 +01:00
buildInputs = [ clang ];
preBuild = "export CC=clang";
2016-07-21 00:33:39 +01:00
src = fetchgit {
inherit rev;
url = "https://${goPackagePath}";
2017-07-05 14:27:28 +01:00
sha256 = "066s7fp9pbyq670xwnib4p7zaxs941r9kpvj2hm6bkr28yrpvp1a";
2016-07-21 00:33:39 +01:00
};
meta = {
homepage = https://ethereum.github.io/go-ethereum/;
2016-07-21 00:33:39 +01:00
description = "Official golang implementation of the Ethereum protocol";
license = with lib.licenses; [ lgpl3 gpl3 ];
};
}