diff --git a/pkgs/development/compilers/kind2/default.nix b/pkgs/development/compilers/kind2/default.nix index ffb02b3a90cb..7e84d78e0d8e 100644 --- a/pkgs/development/compilers/kind2/default.nix +++ b/pkgs/development/compilers/kind2/default.nix @@ -1,15 +1,32 @@ -{ lib, rustPlatform, fetchCrate }: +{ lib +, rustPlatform +, fetchCrate +, pkg-config +, openssl +, stdenv +, Security +}: rustPlatform.buildRustPackage rec { pname = "kind2"; - version = "0.2.77"; + version = "0.2.79"; src = fetchCrate { inherit pname version; - sha256 = "sha256-drWAWiSALq8rb3J2phNE/dt4e6xmJY7Ob8cES1kYEPo="; + sha256 = "sha256-QRPk7BpGVvhGHcDxCWJtJp5d3QOq72ESt5VbaSq5jBU="; }; - cargoSha256 = "sha256-rF0TvNWE90sUqslBGPnGmD6mZFPlCCkM1jyuFt8n8Nw="; + cargoSha256 = "sha256-i7RAJmhUQzjMe9w7z7hPrpiap64L12Shu4DL+e5A6oc="; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security; + + # these tests are flaky + checkFlags = [ + "--skip=test_checker" + "--skip=test_run_hvm" + ]; meta = with lib; { description = "A functional programming language and proof assistant"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 45c15795d2a4..7a2194ba1c97 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14349,7 +14349,9 @@ with pkgs; jwasm = callPackage ../development/compilers/jwasm { }; - kind2 = callPackage ../development/compilers/kind2 { }; + kind2 = callPackage ../development/compilers/kind2 { + inherit (darwin.apple_sdk.frameworks) Security; + }; knightos-genkfs = callPackage ../development/tools/knightos/genkfs { };