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-02-06 23:09:35 +00:00
|
|
|
version = "2021.02.01";
|
2020-09-25 10:00:31 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ledgerwatch";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-06 23:09:35 +00:00
|
|
|
sha256 = "sha256-9z0Hogu/VgGxvgQMKIImv+qyTqTmR40JS4NNIOk5EZI=";
|
2020-09-25 10:00:31 +01:00
|
|
|
};
|
|
|
|
|
2021-02-06 23:09:35 +00:00
|
|
|
vendorSha256 = "sha256-Ho68+SzYELQN4DE57LNSXeHIu43zAOb7HK/jx7PFdXk=";
|
2020-09-25 10:00:31 +01:00
|
|
|
runVend = true;
|
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"cmd/tg"
|
|
|
|
"cmd/restapi"
|
|
|
|
"cmd/rpcdaemon"
|
|
|
|
];
|
|
|
|
|
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";
|
|
|
|
license = with licenses; [ lgpl3 gpl3 ];
|
|
|
|
maintainers = with maintainers; [ xwvvvvwx ];
|
|
|
|
};
|
|
|
|
}
|