2020-09-25 10:00:31 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "turbo-geth";
|
2020-11-26 13:29:11 +00:00
|
|
|
version = "2020.11.04";
|
2020-09-25 10:00:31 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ledgerwatch";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-11-26 13:29:11 +00:00
|
|
|
sha256 = "1iidj7cvpazk2v419l6k7h67rkx0mni3fcxfjpwrp0815fy1c2ri";
|
2020-09-25 10:00:31 +01:00
|
|
|
};
|
|
|
|
|
2020-11-12 12:48:45 +00:00
|
|
|
vendorSha256 = "16vawkky612zf45d8dhipjmhrprmi28z9wdcnjy07x3bxdyfbhfr";
|
2020-09-25 10:00:31 +01:00
|
|
|
runVend = true;
|
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"cmd/tg"
|
|
|
|
"cmd/restapi"
|
|
|
|
"cmd/rpcdaemon"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/ledgerwatch/turbo-geth/";
|
|
|
|
description = "Ethereum node and geth fork focused on scalability and modularity";
|
|
|
|
license = with licenses; [ lgpl3 gpl3 ];
|
|
|
|
maintainers = with maintainers; [ xwvvvvwx ];
|
|
|
|
};
|
|
|
|
}
|