3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/blockchains/erigon.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
961 B
Nix
Raw Normal View History

2021-08-24 09:22:39 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
2020-09-25 10:00:31 +01:00
buildGoModule rec {
2021-06-08 14:41:43 +01:00
pname = "erigon";
2022-11-04 22:57:28 +00:00
version = "2.29.0";
2020-09-25 10:00:31 +01:00
src = fetchFromGitHub {
owner = "ledgerwatch";
repo = pname;
rev = "v${version}";
2022-11-04 22:57:28 +00:00
sha256 = "sha256-hxbeneq1ryTsULRWalgpWRa1aIIyj/QKv5hnYvUUgMg=";
2022-07-02 12:24:39 +01:00
fetchSubmodules = true;
2020-09-25 10:00:31 +01:00
};
2022-11-04 22:57:28 +00:00
vendorSha256 = "sha256-VJxsmJxqER+q1rGFy1CI9Wm1+JXTGQiMJwJ+yzjRtAI=";
2022-01-01 05:05:03 +00:00
proxyVendor = true;
2020-09-25 10:00:31 +01:00
2021-06-08 14:41:43 +01:00
# Build errors in mdbx when format hardening is enabled:
# cc1: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]
hardeningDisable = [ "format" ];
2020-09-25 10:00:31 +01:00
subPackages = [
2021-06-08 14:41:43 +01:00
"cmd/erigon"
2021-05-03 21:29:30 +01:00
"cmd/evm"
2020-09-25 10:00:31 +01:00
"cmd/rpcdaemon"
2021-05-03 21:29:30 +01:00
"cmd/rlpdump"
2020-09-25 10:00:31 +01:00
];
meta = with lib; {
2021-06-08 14:41:43 +01:00
homepage = "https://github.com/ledgerwatch/erigon/";
description = "Ethereum node implementation focused on scalability and modularity";
2021-05-04 11:59:54 +01:00
license = with licenses; [ lgpl3Plus gpl3Plus ];
2022-09-19 01:56:52 +01:00
maintainers = with maintainers; [ d-xo happysalada ];
2020-09-25 10:00:31 +01:00
};
}