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