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

30 lines
732 B
Nix
Raw Normal View History

2020-09-25 11:00:31 +02:00
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "turbo-geth";
2020-11-12 13:48:45 +01:00
version = "2020.11.02";
2020-09-25 11:00:31 +02:00
src = fetchFromGitHub {
owner = "ledgerwatch";
repo = pname;
rev = "v${version}";
2020-11-12 13:48:45 +01:00
sha256 = "1bfywbg6mm3q4wd0mslcv5sj779277izzlqawqvqy3yxnpb6cwj5";
2020-09-25 11:00:31 +02:00
};
2020-11-12 13:48:45 +01:00
vendorSha256 = "16vawkky612zf45d8dhipjmhrprmi28z9wdcnjy07x3bxdyfbhfr";
2020-09-25 11:00:31 +02: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 ];
};
}