File tree 2 files changed +46
-0
lines changed
2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ clang ,
3
+ lib ,
4
+ llvmPackages ,
5
+ fetchFromGitHub ,
6
+ rustPlatform ,
7
+ } :
8
+ rustPlatform . buildRustPackage rec {
9
+ pname = "reth" ;
10
+ version = "0.1.0-alpha.2" ;
11
+
12
+ src = fetchFromGitHub {
13
+ owner = "paradigmxyz" ;
14
+ repo = pname ;
15
+ rev = "v${ version } " ;
16
+ hash = "sha256-+kGhVL7sIbd3WBaRA6XMTAPMCkxRTRacQKFM8oOCqg0=" ;
17
+ } ;
18
+
19
+ cargoLock = {
20
+ lockFile = "${ src } /Cargo.lock" ;
21
+ allowBuiltinFetchGit = true ;
22
+ outputHashes = {
23
+ "boa_ast-0.16.0" = "sha256-M4tDrKM+cR3Xc7qZQ5uHw7lsMEP6OG/VvyHC2oW0BrI=" ;
24
+ "discv5-0.3.0" = "sha256-Z1UZY47C2qtEr4WrOEiWynzsiwggOOEy9slZO5n97BM=" ;
25
+ "igd-0.12.0" = "sha256-wjk/VIddbuoNFljasH5zsHa2JWiOuSW4VlcUS+ed5YY=" ;
26
+ "revm-3.3.0" = "sha256-jmDzHpbWTXxkv+ATAqYznvcQy8V3EF2XVsCyLaH4p0o=" ;
27
+ "ruint-1.8.0" = "sha256-OzIUivkNwtox7cMdqv6tkCMsJsGyVeTvfyMr5SZhuPg=" ;
28
+ } ;
29
+ } ;
30
+
31
+ nativeBuildInputs = [ clang ] ;
32
+
33
+ # Needed by libmdx
34
+ LIBCLANG_PATH = "${ llvmPackages . libclang . lib } /lib" ;
35
+
36
+ meta = {
37
+ description = "Modular, contributor-friendly and blazing-fast implementation of the Ethereum protocol, in Rust" ;
38
+ homepage = "https://github.com/paradigmxyz/reth" ;
39
+ license = [ lib . licenses . mit lib . licenses . asl20 ] ;
40
+ mainProgram = "reth" ;
41
+ platforms = [ "x86_64-linux" ] ;
42
+ } ;
43
+ }
Original file line number Diff line number Diff line change 12
12
inputs' ,
13
13
pkgs ,
14
14
system ,
15
+ inputs' ,
15
16
...
16
17
} : let
17
18
inherit ( pkgs ) callPackage ;
31
32
geth = callPackage ./clients/execution/geth { } ;
32
33
geth-sealer = callPackage ./clients/execution/geth-sealer { } ;
33
34
nethermind = callPackage ./clients/execution/nethermind { } ;
35
+ reth = callPackageUnstable ./clients/execution/reth { } ;
34
36
35
37
# Signers
36
38
web3signer = callPackage ./signers/web3signer { } ;
102
104
# execution clients
103
105
besu . bin = "besu" ;
104
106
erigon . bin = "erigon" ;
107
+ reth . bin = "reth" ;
105
108
106
109
geth = {
107
110
bin = "geth" ;
You can’t perform that action at this time.
0 commit comments