1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 23:24:35 +00:00
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 ];
};
}