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

31 lines
743 B
Nix
Raw Normal View History

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