|
10 | 10 | }: |
11 | 11 | rustPlatform.buildRustPackage rec { |
12 | 12 | pname = "foundry"; |
13 | | - version = "nightly-${builtins.substring 0 7 src.rev}"; |
| 13 | + version = "2acca4e379793539db80e032d76ffe0110298b"; |
14 | 14 |
|
15 | 15 | src = fetchFromGitHub { |
16 | 16 | owner = "foundry-rs"; |
17 | 17 | repo = "foundry"; |
18 | | - rev = "0688b5ad19a637303c038d1a66aec62a73713e20"; |
19 | | - hash = "sha256-OIsUzJVNcb2nVCYU/BdGGGICEg9Cr9LXc8zzN2JSb8g="; |
| 18 | + rev = "nightly-fe${version}"; |
| 19 | + hash = "sha256-saC0XF4iBNXn9BxYlt1e8WB4t3NXptEFaREKgFsPMs0="; |
20 | 20 | }; |
21 | 21 |
|
22 | | - cargoLock = { |
23 | | - lockFile = "${src}/Cargo.lock"; |
24 | | - outputHashes = { |
25 | | - "alloy-consensus-0.1.0" = "sha256-rHDLt0N6VIAlg2EKEdF0S2S8XqJebRlIB7owyGQ04aA="; |
26 | | - "ethers-2.0.11" = "sha256-ySrCZOiqOcDVH5T7gbimK6Bu7A2OCcU64ZL1RfFPrBc="; |
27 | | - "revm-3.5.0" = "sha256-gdDJq2ZyIkMhTgMNz45YJXnopF/xxt3CaSd/eYSDGcY="; |
28 | | - "revm-inspectors-0.1.0" = "sha256-mH6On3cjKLT14S+5dxB1G5lcf5PBtz0KcusMxOtRRWA="; |
29 | | - }; |
30 | | - }; |
| 22 | + cargoHash = "sha256-nfuyl36awAlDnqQmSjKXE/yQ99Asl357S0i8Zn+0WAA="; |
31 | 23 |
|
32 | 24 | env = { |
33 | 25 | # Make svm-rs use local release list rather than fetching from non-reproducible URL. |
@@ -69,10 +61,11 @@ rustPlatform.buildRustPackage rec { |
69 | 61 | doCheck = false; |
70 | 62 |
|
71 | 63 | meta = with lib; { |
72 | | - description = "A portable, modular toolkit for Ethereum application development written in Rust."; |
73 | | - homepage = "https://github.com/foundry-rs/foundry"; |
| 64 | + description = "Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust"; |
| 65 | + homepage = "https://github.com/foundry-rs/foundry/"; |
74 | 66 | license = with licenses; [asl20 mit]; |
75 | 67 | maintainers = with maintainers; [mitchmindtree]; |
| 68 | + mainProgram = "foundry"; |
76 | 69 | # For now, solc binaries are only built for x86_64. |
77 | 70 | # Track darwin-aarch64 here: |
78 | 71 | # https://github.com/ethereum/solidity/issues/12291 |
|
0 commit comments