Merge pull request #273023 from RaitoBezarius/cairo-update

This commit is contained in:
Ryan Lahfa 2023-12-18 10:38:55 +01:00 committed by GitHub
commit ee2c1fb1bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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