2021-01-09 10:05:03 +00:00
|
|
|
{ coq, mkCoqDerivation, mathcomp, mathcomp-bigenough,
|
|
|
|
lib, version ? null }:
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
mkCoqDerivation {
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
namePrefix = [ "coq" "mathcomp" ];
|
|
|
|
pname = "real-closed";
|
|
|
|
owner = "math-comp";
|
|
|
|
inherit version;
|
|
|
|
release = {
|
2023-11-16 04:20:00 +00:00
|
|
|
"2.0.0".sha256 = "sha256-sZvfiC5+5Lg4nRhfKKqyFzovCj2foAhqaq/w9F2bdU8=";
|
2023-03-15 16:39:30 +00:00
|
|
|
"1.1.4".sha256 = "sha256-8Hs6XfowbpeRD8RhMRf4ZJe2xf8kE0e8m7bPUzR/IM4=";
|
2022-09-09 14:08:57 +00:00
|
|
|
"1.1.3".sha256 = "1vwmmnzy8i4f203i2s60dn9i0kr27lsmwlqlyyzdpsghvbr8h5b7";
|
2021-01-09 10:05:03 +00:00
|
|
|
"1.1.2".sha256 = "0907x4nf7nnvn764q3x9lx41g74rilvq5cki5ziwgpsdgb98pppn";
|
|
|
|
"1.1.1".sha256 = "0ksjscrgq1i79vys4zrmgvzy2y4ylxa8wdsf4kih63apw6v5ws6b";
|
|
|
|
"1.0.5".sha256 = "0q8nkxr9fba4naylr5xk7hfxsqzq2pvwlg1j0xxlhlgr3fmlavg2";
|
|
|
|
"1.0.4".sha256 = "058v9dj973h9kfhqmvcy9a6xhhxzljr90cf99hdfcdx68fi2ha1b";
|
|
|
|
"1.0.3".sha256 = "1xbzkzqgw5p42dx1liy6wy8lzdk39zwd6j14fwvv5735k660z7yb";
|
|
|
|
"1.0.1".sha256 = "0j81gkjbza5vg89v4n9z598mfdbql416963rj4b8fzm7dp2r4rxg";
|
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [
|
2023-11-16 04:20:00 +00:00
|
|
|
{ cases = [ (isGe "8.16") (isGe "2.0.0") ]; out = "2.0.0"; }
|
2024-02-07 01:22:34 +00:00
|
|
|
{ cases = [ (isGe "8.13") (range "1.13.0" "1.19.0") ]; out = "1.1.4"; }
|
2024-01-25 14:12:00 +00:00
|
|
|
{ cases = [ (isGe "8.13") (range "1.12.0" "1.18.0") ]; out = "1.1.3"; }
|
|
|
|
{ cases = [ (isGe "8.10") (range "1.12.0" "1.18.0") ]; out = "1.1.2"; }
|
2021-01-09 10:05:03 +00:00
|
|
|
{ cases = [ (isGe "8.7") "1.11.0" ]; out = "1.1.1"; }
|
|
|
|
{ cases = [ (isGe "8.7") (range "1.9.0" "1.10.0") ]; out = "1.0.4"; }
|
|
|
|
{ cases = [ (isGe "8.7") "1.8.0" ]; out = "1.0.3"; }
|
|
|
|
{ cases = [ (isGe "8.7") "1.7.0" ]; out = "1.0.1"; }
|
|
|
|
] null;
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
mathcomp.ssreflect
|
|
|
|
mathcomp.algebra
|
|
|
|
mathcomp.field
|
|
|
|
mathcomp.fingroup
|
|
|
|
mathcomp.solvable
|
|
|
|
mathcomp-bigenough
|
|
|
|
];
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Mathematical Components Library on real closed fields";
|
2023-02-02 18:25:31 +00:00
|
|
|
license = lib.licenses.cecill-c;
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
}
|