From f18c3af055dcd7a49ad40bc7223f6a85951d756c Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 2 Oct 2024 15:17:48 +0200 Subject: [PATCH] =?UTF-8?q?easycrypt:=202024.01=20=E2=86=92=202024.09?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../applications/science/logic/easycrypt/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/science/logic/easycrypt/default.nix b/pkgs/applications/science/logic/easycrypt/default.nix index 782d15d61559..faf3dc75167f 100644 --- a/pkgs/applications/science/logic/easycrypt/default.nix +++ b/pkgs/applications/science/logic/easycrypt/default.nix @@ -1,14 +1,14 @@ -{ lib, stdenv, fetchFromGitHub, ocamlPackages, why3, python3 }: +{ lib, stdenv, darwin, fetchFromGitHub, ocamlPackages, why3, python3 }: stdenv.mkDerivation rec { pname = "easycrypt"; - version = "2024.01"; + version = "2024.09"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "r${version}"; - hash = "sha256-UYDoVMi5TtYxgPq5nkp/oRtcMcHl2p7KAG8ptvuOL5U="; + hash = "sha256-ZGYklG1eXfytRKzFvRSB6jFrOCm1gjyG8W78eMve5Ng="; }; nativeBuildInputs = with ocamlPackages; [ @@ -17,10 +17,12 @@ stdenv.mkDerivation rec { menhir ocaml python3.pkgs.wrapPython - ]; + ] ++ lib.optional stdenv.hostPlatform.isDarwin darwin.sigtool; + buildInputs = with ocamlPackages; [ batteries dune-build-info + dune-site inifiles why3 yojson @@ -32,7 +34,7 @@ stdenv.mkDerivation rec { strictDeps = true; postPatch = '' - substituteInPlace dune-project --replace '(name easycrypt)' '(name easycrypt)(version ${version})' + substituteInPlace dune-project --replace-fail '(name easycrypt)' '(name easycrypt)(version ${version})' ''; pythonPath = with python3.pkgs; [ pyyaml ];