From ab62aac6bb414270685faed7914d4bf807fbff42 Mon Sep 17 00:00:00 2001 From: figsoda Date: Tue, 18 Oct 2022 11:03:46 -0400 Subject: [PATCH] kind2: 0.2.77 -> 0.2.79 --- pkgs/development/compilers/kind2/default.nix | 25 ++++++++++++++++---- pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 24 insertions(+), 5 deletions(-) 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 29ec62363efb..ff5dec441c05 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14350,7 +14350,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 { };