cairo-lang: 2.3.0 -> 2.4.0

This updates the Cairo (language) compiler to 2.4.0.
https://github.com/starkware-libs/cairo/releases/tag/v2.4.0

The Cargo.lock being not up-to-date, I had to refresh it, see
https://github.com/starkware-libs/cairo/issues/4530.
This commit is contained in:
Raito Bezarius 2023-12-08 23:43:25 +01:00
parent a87dd3d3d9
commit dcf3231563
2 changed files with 1173 additions and 3 deletions

View File

@ -6,16 +6,21 @@
rustPlatform.buildRustPackage rec {
pname = "cairo";
version = "2.3.0";
version = "2.4.0";
src = fetchFromGitHub {
owner = "starkware-libs";
repo = "cairo";
rev = "v${version}";
hash = "sha256-5UOLfsNgtg5EDDId23ysmWfeqMeh8R2UfMeBAtFCx6s=";
hash = "sha256-5bCPklk9u21/9cZYisszK0Lo7is9+iFrQxve41Fy5hg=";
};
cargoHash = "sha256-YoPStyPeEqLoUvGLEPwXR8XVhXtb6XwFuPNoDCiT7OA=";
cargoPatches = [
# Upstream Cargo.lock is not up-to-date.
# https://github.com/starkware-libs/cairo/issues/4530
./ensure-consistency-of-cargo-lock.patch
];
cargoHash = "sha256-YCW6nwmUXMiP65QHCH6k29672gIkuz+MCmTqI+qaOyA=";
nativeCheckInputs = [
rustfmt

File diff suppressed because it is too large Load Diff