2021-01-09 10:05:03 +00:00
|
|
|
{ lib, mkCoqDerivation, coq, bignums, version ? null }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
mkCoqDerivation {
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
pname = "math-classes";
|
|
|
|
inherit version;
|
2023-07-15 17:15:38 +00:00
|
|
|
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
2024-05-15 15:35:15 +00:00
|
|
|
{ case = range "8.17" "8.19"; out = "8.19.0"; }
|
2023-11-16 04:20:00 +00:00
|
|
|
{ case = range "8.12" "8.18"; out = "8.18.0"; }
|
2023-07-15 17:15:38 +00:00
|
|
|
{ case = range "8.12" "8.17"; out = "8.17.0"; }
|
|
|
|
{ case = range "8.6" "8.16"; out = "8.15.0"; }
|
|
|
|
] null;
|
2021-02-05 17:12:51 +00:00
|
|
|
release."8.12.0".sha256 = "14nd6a08zncrl5yg2gzk0xf4iinwq4hxnsgm4fyv07ydbkxfb425";
|
2021-07-17 21:14:59 +00:00
|
|
|
release."8.13.0".sha256 = "1ln7ziivfbxzbdvlhbvyg3v30jgblncmwcsam6gg3d1zz6r7cbby";
|
2022-01-26 04:04:25 +00:00
|
|
|
release."8.15.0".sha256 = "10w1hm537k6jx8a8vghq1yx12rsa0sjk2ipv3scgir71ln30hllw";
|
2023-07-15 17:15:38 +00:00
|
|
|
release."8.17.0".sha256 = "sha256-WklL8pgYTd0l4TGt7h7tWj1qcFcXvoPn25+XKF1pIKA=";
|
2023-11-16 04:20:00 +00:00
|
|
|
release."8.18.0".sha256 = "sha256-0WwPss8+Vr37zX616xeuS4TvtImtSbToFQkQostIjO8=";
|
2024-05-15 15:35:15 +00:00
|
|
|
release."8.19.0".sha256 = "sha256-rsV96W9MPFi/DKsepNPm1QnC2DMemio+uALIgzVYw0w=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
propagatedBuildInputs = [ bignums ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
meta = {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://math-classes.github.io";
|
|
|
|
description = "A library of abstract interfaces for mathematical structures in Coq.";
|
2023-02-02 18:25:31 +00:00
|
|
|
maintainers = with lib.maintainers; [ siddharthist jwiegley ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|