2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-09-25 10:00:31 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "turbo-geth";
|
2021-05-14 12:06:05 +01:00
|
|
|
version = "2021.05.02";
|
2020-09-25 10:00:31 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ledgerwatch";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-05-14 12:06:05 +01:00
|
|
|
sha256 = "sha256-7sTRAAlKZOdwi/LRbIEDKWpBe1ol8pZfEf2KIC4s0xk=";
|
2020-09-25 10:00:31 +01:00
|
|
|
};
|
|
|
|
|
2021-05-14 12:06:05 +01:00
|
|
|
vendorSha256 = "1d0ahdb2b5v8nxq3kdxw151phnyv6habb8kr8qjaq3kyhcnyk6ng";
|
2020-09-25 10:00:31 +01:00
|
|
|
runVend = true;
|
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"cmd/tg"
|
2021-05-03 21:29:30 +01:00
|
|
|
"cmd/evm"
|
2020-09-25 10:00:31 +01:00
|
|
|
"cmd/rpcdaemon"
|
2021-05-03 21:29:30 +01:00
|
|
|
"cmd/rlpdump"
|
2020-09-25 10:00:31 +01:00
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-09-25 10:00:31 +01:00
|
|
|
homepage = "https://github.com/ledgerwatch/turbo-geth/";
|
|
|
|
description = "Ethereum node and geth fork focused on scalability and modularity";
|
2021-05-04 11:59:54 +01:00
|
|
|
license = with licenses; [ lgpl3Plus gpl3Plus ];
|
2020-09-25 10:00:31 +01:00
|
|
|
maintainers = with maintainers; [ xwvvvvwx ];
|
|
|
|
};
|
|
|
|
}
|