nixpkgs/pkgs/applications/blockchains/turbo-geth.nix

30 lines
732 B
Nix
Raw Normal View History

2020-09-25 09:00:31 +00:00
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "turbo-geth";
2020-12-05 04:43:00 +00:00
version = "2020.12.01";
2020-09-25 09:00:31 +00:00
src = fetchFromGitHub {
owner = "ledgerwatch";
repo = pname;
rev = "v${version}";
2020-12-05 04:43:00 +00:00
sha256 = "0l1qj10vhfkrk66zihz8m24pnyj8jbb65a7amvphp07r199swy2a";
2020-09-25 09:00:31 +00:00
};
2020-11-12 12:48:45 +00:00
vendorSha256 = "16vawkky612zf45d8dhipjmhrprmi28z9wdcnjy07x3bxdyfbhfr";
2020-09-25 09:00:31 +00:00
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 ];
};
}