Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
48 lines
1.2 KiB
Nix
48 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "reth";
|
|
version = "1.8.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "paradigmxyz";
|
|
repo = "reth";
|
|
rev = "v${version}";
|
|
hash = "sha256-Z84zCt/v6e++Et6a2hBcHfrzQvtzBEn+Zx1bBRJfiqM=";
|
|
};
|
|
|
|
cargoHash = "sha256-KxUiiOTlMNlPw4pHjEcqXsMF3RCA0KVO66WKpz1YoT0=";
|
|
|
|
nativeBuildInputs = [
|
|
rustPlatform.bindgenHook
|
|
];
|
|
|
|
# Some tests fail due to I/O that is unfriendly with nix sandbox.
|
|
checkFlags = [
|
|
"--skip=builder::tests::block_number_node_config_test"
|
|
"--skip=builder::tests::launch_multiple_nodes"
|
|
"--skip=builder::tests::rpc_handles_none_without_http"
|
|
"--skip=cli::tests::override_trusted_setup_file"
|
|
"--skip=cli::tests::parse_env_filter_directives"
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Modular Ethereum execution client in Rust by Paradigm";
|
|
homepage = "https://github.com/paradigmxyz/reth";
|
|
license = with lib.licenses; [
|
|
mit
|
|
asl20
|
|
];
|
|
mainProgram = "reth";
|
|
maintainers = with lib.maintainers; [ mitchmindtree ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|