gappa: add nix-update-script and versionCheckHook

This commit is contained in:
Yiyu Zhou
2025-10-14 23:46:41 -07:00
parent ac24a9cde5
commit 69ae0e586f

View File

@@ -6,6 +6,8 @@
mpfr,
boost,
version ? "1.6.1",
versionCheckHook,
nix-update-script,
}:
stdenv.mkDerivation {
@@ -26,6 +28,11 @@ stdenv.mkDerivation {
buildPhase = "./remake";
installPhase = "./remake install";
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://gappa.gitlabpages.inria.fr/";
description = "Verifying and formally proving properties on numerical programs dealing with floating-point or fixed-point arithmetic";