2020-08-28 21:05:46 +00:00
|
|
|
{ coq, mkCoqDerivation, mathcomp, bignums, paramcoq, multinomials,
|
2021-10-25 13:20:28 +00:00
|
|
|
mathcomp-real-closed,
|
2021-02-19 18:34:30 +00:00
|
|
|
lib, version ? null }:
|
2020-08-28 21:05:46 +00:00
|
|
|
|
2021-10-25 13:20:28 +00:00
|
|
|
(mkCoqDerivation {
|
2020-08-28 21:05:46 +00:00
|
|
|
|
|
|
|
pname = "CoqEAL";
|
2021-10-28 14:17:24 +00:00
|
|
|
|
2020-08-28 21:05:46 +00:00
|
|
|
inherit version;
|
2023-01-21 22:19:48 +00:00
|
|
|
defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [
|
2022-09-08 16:06:52 +00:00
|
|
|
{ cases = [ (range "8.13" "8.16") (isGe "1.13.0") ]; out = "1.1.1"; }
|
2022-01-27 18:16:20 +00:00
|
|
|
{ cases = [ (range "8.10" "8.15") (isGe "1.12.0") ]; out = "1.1.0"; }
|
2021-04-29 06:24:35 +00:00
|
|
|
{ cases = [ (isGe "8.10") (range "1.11.0" "1.12.0") ]; out = "1.0.5"; }
|
2020-08-28 21:05:46 +00:00
|
|
|
{ cases = [ (isGe "8.7") "1.11.0" ]; out = "1.0.4"; }
|
|
|
|
{ cases = [ (isGe "8.7") "1.10.0" ]; out = "1.0.3"; }
|
|
|
|
] null;
|
|
|
|
|
2022-07-08 13:30:10 +00:00
|
|
|
release."1.1.1".sha256 = "sha256-ExAdC3WuArNxS+Sa1r4x5aT7ylbCvP/BZXfkdQNAvZ8=";
|
2021-11-05 10:26:23 +00:00
|
|
|
release."1.1.0".sha256 = "1vyhfna5frkkq2fl1fkg2mwzpg09k3sbzxxpyp14fjay81xajrxr";
|
2021-08-06 09:42:07 +00:00
|
|
|
release."1.0.6".sha256 = "0lqkyfj4qbq8wr3yk8qgn7mclw582n3fjl9l19yp8cnchspzywx0";
|
2021-04-29 06:24:35 +00:00
|
|
|
release."1.0.5".sha256 = "0cmvky8glb5z2dy3q62aln6qbav4lrf2q1589f6h1gn5bgjrbzkm";
|
2020-08-28 21:05:46 +00:00
|
|
|
release."1.0.4".sha256 = "1g5m26lr2lwxh6ld2gykailhay4d0ayql4bfh0aiwqpmmczmxipk";
|
|
|
|
release."1.0.3".sha256 = "0hc63ny7phzbihy8l7wxjvn3haxx8jfnhi91iw8hkq8n29i23v24";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ mathcomp.algebra bignums paramcoq multinomials ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "CoqEAL - The Coq Effective Algebra Library";
|
2023-01-21 22:19:48 +00:00
|
|
|
license = lib.licenses.mit;
|
2020-08-28 21:05:46 +00:00
|
|
|
};
|
2021-10-25 13:20:28 +00:00
|
|
|
}).overrideAttrs (o: {
|
|
|
|
propagatedBuildInputs = o.propagatedBuildInputs
|
2023-01-21 22:19:48 +00:00
|
|
|
++ lib.optional (lib.versions.isGe "1.1" o.version || o.version == "dev") mathcomp-real-closed;
|
2021-10-25 13:20:28 +00:00
|
|
|
})
|