Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

57 lines
1.2 KiB
Nix

{
lib,
mkCoqDerivation,
coq,
interval,
compcert,
flocq,
bignums,
version ? null,
}:
let
self = mkCoqDerivation {
pname = "vcfloat";
owner = "VeriNum";
inherit version;
sourceRoot = "${self.src.name}/vcfloat";
postPatch = ''
coq_makefile -o Makefile -f _CoqProject *.v
'';
defaultVersion =
with lib.versions;
lib.switch coq.coq-version [
{
case = isEq "8.20";
out = "2.3";
}
{
case = isEq "8.19";
out = "2.2";
}
{
case = range "8.16" "8.18";
out = "2.1.1";
}
] null;
release."2.3".sha256 = "sha256-fV7w/kYTpcBxrHFzEvx+eydDHbGH05/seucrgSjKK3w=";
release."2.2".sha256 = "sha256-PyMm84ZYh+dOnl8Kk2wlYsQ+S/d1Hsp6uv2twTedEPg=";
release."2.1.1".sha256 = "sha256-bd/XSQhyFUAnSm2bhZEZBWB6l4/Ptlm9JrWu6w9BOpw=";
releaseRev = v: "v${v}";
propagatedBuildInputs = [
interval
compcert
flocq
bignums
];
meta = {
description = "Tool for Coq proofs about floating-point round-off error";
maintainers = with lib.maintainers; [ quinn-dougherty ];
license = lib.licenses.lgpl3Plus;
};
};
in
self