reth: init at 1.3.12 (#284172)

This commit is contained in:
Arne Keller
2025-05-01 10:21:39 +02:00
committed by GitHub
+47
View File
@@ -0,0 +1,47 @@
{
lib,
fetchFromGitHub,
nix-update-script,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "reth";
version = "1.3.12";
src = fetchFromGitHub {
owner = "paradigmxyz";
repo = pname;
rev = "v${version}";
hash = "sha256-59XUrMaXMiqSELQX8i7eK4Eo8YfGjPVZHT6q+rxoSPs=";
};
cargoHash = "sha256-FHQ+iPcjxwcY7uoZMXlm/lRoVA5E5wRg7qFgJe+VSEc=";
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;
};
}