Raito Bezarius 2024-02-21 02:23:09 +01:00
parent f9d40ef7bc
commit 317870f860

View File

@ -6,21 +6,16 @@
rustPlatform.buildRustPackage rec {
pname = "cairo";
version = "2.4.0";
version = "2.5.4";
src = fetchFromGitHub {
owner = "starkware-libs";
repo = "cairo";
rev = "v${version}";
hash = "sha256-5bCPklk9u21/9cZYisszK0Lo7is9+iFrQxve41Fy5hg=";
hash = "sha256-ctb5VingMczzHLyyEjKgFKNAZI3/fqzjFW/RQGDSsyQ=";
};
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=";
cargoHash = "sha256-T21GuGQaX/VD907MEGp68bQPXrRK0it4o1nLEdHwTsE=";
nativeCheckInputs = [
rustfmt