2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
|
2020-09-25 10:00:31 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "turbo-geth";
|
2020-12-11 04:21:37 +00:00
|
|
|
version = "2020.12.02";
|
2020-09-25 10:00:31 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ledgerwatch";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-12-11 04:21:37 +00:00
|
|
|
sha256 = "0ynnpvpd84qncvzmk4hmq8mn6m14a9p3zg4svijqwlsrr39amp3q";
|
2020-09-25 10:00:31 +01:00
|
|
|
};
|
|
|
|
|
2020-12-11 04:21:37 +00:00
|
|
|
vendorSha256 = "0sk064iyaxq9ig9xv3h1p1c4994hna9bky16g3hblbnh3v7mmqar";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|