diff --git a/pkgs/development/compilers/cairo/default.nix b/pkgs/development/compilers/cairo/default.nix index 51b6c641da94..10dc215065ab 100644 --- a/pkgs/development/compilers/cairo/default.nix +++ b/pkgs/development/compilers/cairo/default.nix @@ -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 = ''