78efc47b99
GitOrigin-RevId: 83cbad92d73216bb0d9187c56cce0b91f9121d5a
29 lines
732 B
Nix
29 lines
732 B
Nix
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "turbo-geth";
|
|
version = "2020.12.01";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ledgerwatch";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0l1qj10vhfkrk66zihz8m24pnyj8jbb65a7amvphp07r199swy2a";
|
|
};
|
|
|
|
vendorSha256 = "16vawkky612zf45d8dhipjmhrprmi28z9wdcnjy07x3bxdyfbhfr";
|
|
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 ];
|
|
};
|
|
}
|