cairo-lang: 2.5.4 -> 2.8.0 (#338878)

This commit is contained in:
Ryan Lahfa 2024-09-02 11:53:46 +02:00 committed by GitHub
commit 8899e78e6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,20 +2,26 @@
, rustPlatform
, fetchFromGitHub
, rustfmt
, perl
}:
rustPlatform.buildRustPackage rec {
pname = "cairo";
version = "2.5.4";
version = "2.8.0";
src = fetchFromGitHub {
owner = "starkware-libs";
repo = "cairo";
rev = "v${version}";
hash = "sha256-ctb5VingMczzHLyyEjKgFKNAZI3/fqzjFW/RQGDSsyQ=";
hash = "sha256-zQ+kc4c8YI9vURUEQNqX55mTJBcc2NLp4K8kab3ZjEs=";
};
cargoHash = "sha256-T21GuGQaX/VD907MEGp68bQPXrRK0it4o1nLEdHwTsE=";
cargoHash = "sha256-3ah6cHyCppkLJ2e73aGhVemyMRBl9R5a6ufWHmrJHSk=";
# openssl crate requires perl during build process
nativeBuildInputs = [
perl
];
nativeCheckInputs = [
rustfmt
@ -24,6 +30,9 @@ rustPlatform.buildRustPackage rec {
checkFlags = [
# Requires a mythical rustfmt 2.0 or a nightly compiler
"--skip=golden_test::sourcegen_ast"
# Test broken
"--skip=test_lowering_consistency"
];
postInstall = ''