1 { coq, mkCoqDerivation, mathcomp, bignums, paramcoq, multinomials,
10 defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [
11 { cases = [ (range "8.16" "8.19") (isGe "2.0.0") ]; out = "2.0.1"; }
12 { cases = [ (range "8.16" "8.17") (isGe "2.0.0") ]; out = "2.0.0"; }
13 { cases = [ (range "8.15" "8.18") (range "1.15.0" "1.18.0") ]; out = "1.1.3"; }
14 { cases = [ (range "8.13" "8.17") (range "1.13.0" "1.18.0") ]; out = "1.1.1"; }
15 { cases = [ (range "8.10" "8.15") (range "1.12.0" "1.18.0") ]; out = "1.1.0"; }
16 { cases = [ (isGe "8.10") (range "1.11.0" "1.12.0") ]; out = "1.0.5"; }
17 { cases = [ (isGe "8.7") "1.11.0" ]; out = "1.0.4"; }
18 { cases = [ (isGe "8.7") "1.10.0" ]; out = "1.0.3"; }
21 release."2.0.1".sha256 = "sha256-d/IQ4IdS2tpyPewcGobj2S6m2HU+iXQmlvR+ITNIcjI=";
22 release."2.0.0".sha256 = "sha256-SG/KVnRJz2P+ZxkWVp1dDOnc/JVgigoexKfRUh1Y0GM";
23 release."1.1.3".sha256 = "sha256-xhqWpg86xbU1GbDtXXInNCTArjjPnWZctWiiasq1ScU=";
24 release."1.1.1".sha256 = "sha256-ExAdC3WuArNxS+Sa1r4x5aT7ylbCvP/BZXfkdQNAvZ8=";
25 release."1.1.0".sha256 = "1vyhfna5frkkq2fl1fkg2mwzpg09k3sbzxxpyp14fjay81xajrxr";
26 release."1.0.6".sha256 = "0lqkyfj4qbq8wr3yk8qgn7mclw582n3fjl9l19yp8cnchspzywx0";
27 release."1.0.5".sha256 = "0cmvky8glb5z2dy3q62aln6qbav4lrf2q1589f6h1gn5bgjrbzkm";
28 release."1.0.4".sha256 = "1g5m26lr2lwxh6ld2gykailhay4d0ayql4bfh0aiwqpmmczmxipk";
29 release."1.0.3".sha256 = "0hc63ny7phzbihy8l7wxjvn3haxx8jfnhi91iw8hkq8n29i23v24";
31 propagatedBuildInputs = [ mathcomp.algebra bignums paramcoq multinomials ];
34 description = "CoqEAL - The Coq Effective Algebra Library";
35 license = lib.licenses.mit;
37 }).overrideAttrs (o: {
38 propagatedBuildInputs = o.propagatedBuildInputs
39 ++ lib.optional (lib.versions.isGe "1.1" o.version || o.version == "dev") mathcomp-real-closed;