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-07 12:49:33 +02:00
version = "2021.05.01";
2020-09-25 11:00:31 +02:00
src = fetchFromGitHub {
owner = "ledgerwatch";
repo = pname;
rev = "v${version}";
2021-05-07 12:49:33 +02:00
sha256 = "sha256-zvxtBK0/6fShxAZfU4gTV0XiP6TzhKFNsADSZA9gv0Y=";
2020-09-25 11:00:31 +02:00
};
2021-05-07 12:49:33 +02:00
vendorSha256 = "0c8p6djs0zcci8sh4zgzky89155mr4cfqlax025618x8vngrsxf2";
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 ];
};
}