coqPackages_8_16: fix evaluation with math-comp ≥ 2.0

Disable coq-bits, extructures, and gaia-hydra
This commit is contained in:
Vincent Laporte 2023-11-30 16:05:56 +01:00 committed by Vincent Laporte
parent 24b80431bf
commit 6225a51060
3 changed files with 8 additions and 8 deletions

View File

@ -1,18 +1,18 @@
{ lib, mkCoqDerivation, coq, mathcomp-algebra, version ? null }: { lib, mkCoqDerivation, coq, mathcomp, version ? null }:
mkCoqDerivation { mkCoqDerivation {
pname = "coq-bits"; pname = "coq-bits";
repo = "bits"; repo = "bits";
inherit version; inherit version;
defaultVersion = with lib.versions; lib.switch coq.coq-version [ defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [
{ case = range "8.10" "8.16"; out = "1.1.0"; } { cases = [ (range "8.10" "8.16") (isLt "2.0") ]; out = "1.1.0"; }
{ case = range "8.7" "8.15"; out = "1.0.0"; } { cases = [ (range "8.7" "8.15") (isLt "2.0") ]; out = "1.0.0"; }
] null; ] null;
release."1.1.0".sha256 = "sha256-TCw1kSXeW0ysIdLeNr+EGmpGumEE9i8tinEMp57UXaE="; release."1.1.0".sha256 = "sha256-TCw1kSXeW0ysIdLeNr+EGmpGumEE9i8tinEMp57UXaE=";
release."1.0.0".sha256 = "0nv5mdgrd075dpd8bc7h0xc5i95v0pkm0bfyq5rj6ii1s54dwcjl"; release."1.0.0".sha256 = "0nv5mdgrd075dpd8bc7h0xc5i95v0pkm0bfyq5rj6ii1s54dwcjl";
propagatedBuildInputs = [ mathcomp-algebra ]; propagatedBuildInputs = [ mathcomp.algebra ];
meta = with lib; { meta = with lib; {
description = "A formalization of bitset operations in Coq"; description = "A formalization of bitset operations in Coq";

View File

@ -10,7 +10,7 @@
inherit version; inherit version;
defaultVersion = with lib.versions; lib.switch [coq.coq-version ssreflect.version] [ defaultVersion = with lib.versions; lib.switch [coq.coq-version ssreflect.version] [
{ cases = [(range "8.17" "8.18") (isGe "2.0.0") ]; out = "0.4.0"; } { cases = [(range "8.17" "8.18") (isGe "2.0.0") ]; out = "0.4.0"; }
{ cases = [(range "8.11" "8.18") (isGe "1.12.0") ]; out = "0.3.1"; } { cases = [(range "8.11" "8.18") (range "1.12.0" "1.18.0") ]; out = "0.3.1"; }
{ cases = [(range "8.11" "8.14") (isLe "1.12.0") ]; out = "0.3.0"; } { cases = [(range "8.11" "8.14") (isLe "1.12.0") ]; out = "0.3.0"; }
{ cases = [(range "8.10" "8.12") (isLe "1.12.0") ]; out = "0.2.2"; } { cases = [(range "8.10" "8.12") (isLe "1.12.0") ]; out = "0.2.2"; }
] null; ] null;

View File

@ -12,8 +12,8 @@ mkCoqDerivation rec {
inherit version; inherit version;
defaultVersion = with lib.versions; lib.switch [coq.coq-version mathcomp.version] [ defaultVersion = with lib.versions; lib.switch [coq.coq-version mathcomp.version] [
{ cases = [ (range "8.13" "8.16") (isGe "1.12.0") ]; out = "0.9"; } { cases = [ (range "8.13" "8.16") (range "1.12.0" "1.18.0") ]; out = "0.9"; }
{ cases = [ (range "8.13" "8.14") (isGe "1.12.0") ]; out = "0.5"; } { cases = [ (range "8.13" "8.14") (range "1.12.0" "1.18.0") ]; out = "0.5"; }
] null; ] null;
propagatedBuildInputs = [ propagatedBuildInputs = [