Skip to content

Commit 29865ce

Browse files
committed
foundry: 0688b5a -> 2acca4e3
1 parent 761bccc commit 29865ce

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

pkgs/foundry/default.nix

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,16 @@
1010
}:
1111
rustPlatform.buildRustPackage rec {
1212
pname = "foundry";
13-
version = "nightly-${builtins.substring 0 7 src.rev}";
13+
version = "2acca4e379793539db80e032d76ffe0110298b";
1414

1515
src = fetchFromGitHub {
1616
owner = "foundry-rs";
1717
repo = "foundry";
18-
rev = "0688b5ad19a637303c038d1a66aec62a73713e20";
19-
hash = "sha256-OIsUzJVNcb2nVCYU/BdGGGICEg9Cr9LXc8zzN2JSb8g=";
18+
rev = "nightly-fe${version}";
19+
hash = "sha256-saC0XF4iBNXn9BxYlt1e8WB4t3NXptEFaREKgFsPMs0=";
2020
};
2121

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=";
3123

3224
env = {
3325
# Make svm-rs use local release list rather than fetching from non-reproducible URL.
@@ -69,10 +61,11 @@ rustPlatform.buildRustPackage rec {
6961
doCheck = false;
7062

7163
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/";
7466
license = with licenses; [asl20 mit];
7567
maintainers = with maintainers; [mitchmindtree];
68+
mainProgram = "foundry";
7669
# For now, solc binaries are only built for x86_64.
7770
# Track darwin-aarch64 here:
7871
# https://github.com/ethereum/solidity/issues/12291

0 commit comments

Comments
 (0)