mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 10:31:36 +00:00
30 lines
720 B
Nix
30 lines
720 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "turbo-geth";
|
|
version = "2021.02.01";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ledgerwatch";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-9z0Hogu/VgGxvgQMKIImv+qyTqTmR40JS4NNIOk5EZI=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-Ho68+SzYELQN4DE57LNSXeHIu43zAOb7HK/jx7PFdXk=";
|
|
runVend = true;
|
|
|
|
subPackages = [
|
|
"cmd/tg"
|
|
"cmd/restapi"
|
|
"cmd/rpcdaemon"
|
|
];
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|