mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
coqPackages.vcfloat: enable for Coq 8.18 & 8.19
This commit is contained in:
parent
c02cbef6a9
commit
e976fa8f49
|
@ -1,6 +1,6 @@
|
||||||
{ lib, mkCoqDerivation, coq, interval, compcert, flocq, bignums, version ? null }:
|
{ lib, mkCoqDerivation, coq, interval, compcert, flocq, bignums, version ? null }:
|
||||||
|
|
||||||
let self = with lib; mkCoqDerivation {
|
let self = mkCoqDerivation {
|
||||||
pname = "vcfloat";
|
pname = "vcfloat";
|
||||||
owner = "VeriNum";
|
owner = "VeriNum";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
@ -8,9 +8,11 @@ let self = with lib; mkCoqDerivation {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
coq_makefile -o Makefile -f _CoqProject *.v
|
coq_makefile -o Makefile -f _CoqProject *.v
|
||||||
'';
|
'';
|
||||||
defaultVersion = with versions; switch coq.coq-version [
|
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
||||||
{ case = range "8.16" "8.17"; out = "2.1.1"; }
|
{ case = isEq "8.19"; out = "2.2"; }
|
||||||
|
{ case = range "8.16" "8.18"; out = "2.1.1"; }
|
||||||
] null;
|
] null;
|
||||||
|
release."2.2".sha256 = "sha256-PyMm84ZYh+dOnl8Kk2wlYsQ+S/d1Hsp6uv2twTedEPg=";
|
||||||
release."2.1.1".sha256 = "sha256-bd/XSQhyFUAnSm2bhZEZBWB6l4/Ptlm9JrWu6w9BOpw=";
|
release."2.1.1".sha256 = "sha256-bd/XSQhyFUAnSm2bhZEZBWB6l4/Ptlm9JrWu6w9BOpw=";
|
||||||
releaseRev = v: "v${v}";
|
releaseRev = v: "v${v}";
|
||||||
|
|
||||||
|
@ -18,8 +20,8 @@ let self = with lib; mkCoqDerivation {
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A tool for Coq proofs about floating-point round-off error";
|
description = "A tool for Coq proofs about floating-point round-off error";
|
||||||
maintainers = with maintainers; [ quinn-dougherty ];
|
maintainers = with lib.maintainers; [ quinn-dougherty ];
|
||||||
license = licenses.lgpl3Plus;
|
license = lib.licenses.lgpl3Plus;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in self
|
in self
|
||||||
|
|
|
@ -122,9 +122,10 @@ let
|
||||||
tlc = callPackage ../development/coq-modules/tlc {};
|
tlc = callPackage ../development/coq-modules/tlc {};
|
||||||
topology = callPackage ../development/coq-modules/topology {};
|
topology = callPackage ../development/coq-modules/topology {};
|
||||||
trakt = callPackage ../development/coq-modules/trakt {};
|
trakt = callPackage ../development/coq-modules/trakt {};
|
||||||
vcfloat = callPackage ../development/coq-modules/vcfloat {
|
vcfloat = callPackage ../development/coq-modules/vcfloat (lib.optionalAttrs
|
||||||
|
(lib.versions.range "8.16" "8.18" self.coq.version) {
|
||||||
interval = self.interval.override { version = "4.9.0"; };
|
interval = self.interval.override { version = "4.9.0"; };
|
||||||
};
|
});
|
||||||
Velisarios = callPackage ../development/coq-modules/Velisarios {};
|
Velisarios = callPackage ../development/coq-modules/Velisarios {};
|
||||||
Verdi = callPackage ../development/coq-modules/Verdi {};
|
Verdi = callPackage ../development/coq-modules/Verdi {};
|
||||||
Vpl = callPackage ../development/coq-modules/Vpl {};
|
Vpl = callPackage ../development/coq-modules/Vpl {};
|
||||||
|
|
Loading…
Reference in a new issue