2020-09-25 11:00:31 +02:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "turbo-geth";
|
2020-11-26 14:29:11 +01:00
|
|
|
version = "2020.11.04";
|
2020-09-25 11:00:31 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ledgerwatch";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-11-26 14:29:11 +01:00
|
|
|
sha256 = "1iidj7cvpazk2v419l6k7h67rkx0mni3fcxfjpwrp0815fy1c2ri";
|
2020-09-25 11:00:31 +02:00
|
|
|
};
|
|
|
|
|
2020-11-12 13:48:45 +01:00
|
|
|
vendorSha256 = "16vawkky612zf45d8dhipjmhrprmi28z9wdcnjy07x3bxdyfbhfr";
|
2020-09-25 11:00:31 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|