2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-11-12 09:05:59 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "turbo-geth";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "2021.01.01";
|
2020-11-12 09:05:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ledgerwatch";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "0a570570cmyngbz645728jdd0d2xmnyrnln2gbxnngiv4v62dxls";
|
2020-11-12 09:05:59 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
vendorSha256 = "1x3mhfc16slaamp51rbscfwll25qj6ama1xkysidy7rscmmsj392";
|
2020-11-12 09:05:59 +00:00
|
|
|
runVend = true;
|
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"cmd/tg"
|
|
|
|
"cmd/restapi"
|
|
|
|
"cmd/rpcdaemon"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-12 09:05:59 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|