mmgen-wallet/nix/reth.nix

35 lines
748 B
Nix
Raw Normal View History

2025-09-11 17:37:10 +00:00
{
lib,
2025-12-08 14:56:19 +00:00
pkgs,
2025-09-11 17:37:10 +00:00
}:
2025-11-04 09:32:38 +00:00
pkgs.rustPlatform.buildRustPackage rec {
2025-09-11 17:37:10 +00:00
pname = "reth";
2026-02-11 13:02:13 +00:00
version = "1.10.2";
2025-09-11 17:37:10 +00:00
src = fetchGit {
url = "https://github.com/paradigmxyz/reth";
# url = /path/to/repo/reth;
ref = "refs/tags/v${version}";
shallow = true;
};
2026-02-11 13:02:13 +00:00
cargoHash = "sha256-X3OGsN+JRFW2As9W6r8vEYXaeJA/qpVFOzZxHaEYF3I=";
2025-09-11 17:37:10 +00:00
nativeBuildInputs = [
2026-02-11 13:02:13 +00:00
pkgs.perl
2025-09-11 17:37:10 +00:00
pkgs.clang
pkgs.libclang
pkgs.rustc
pkgs.cargo
2025-09-11 17:37:10 +00:00
];
env.LIBCLANG_PATH = pkgs.libclang.lib + "/lib/";
meta = with lib; {
description = "Rust Ethereum daemon";
homepage = "https://github.com/paradigmxyz/reth";
license = licenses.mit;
mainProgram = "reth";
};
}