2020-08-28 22:05:46 +01:00
|
|
|
{ lib, mkCoqDerivation, coq, bignums, version ? null }:
|
2017-01-25 21:55:43 +00:00
|
|
|
|
2020-08-28 22:05:46 +01:00
|
|
|
with lib; mkCoqDerivation {
|
2017-10-29 17:56:03 +00:00
|
|
|
|
2020-08-28 22:05:46 +01:00
|
|
|
pname = "math-classes";
|
|
|
|
inherit version;
|
2021-07-17 15:25:34 +01:00
|
|
|
defaultVersion = if versions.range "8.11" "8.13" coq.coq-version then "8.13.0" else
|
|
|
|
if versions.range "8.6" "8.10" coq.coq-version then "8.12.0" else null;
|
2021-01-21 12:32:38 +00:00
|
|
|
release."8.12.0".sha256 = "14nd6a08zncrl5yg2gzk0xf4iinwq4hxnsgm4fyv07ydbkxfb425";
|
2021-07-17 15:25:34 +01:00
|
|
|
release."8.13.0".sha256 = "1ln7ziivfbxzbdvlhbvyg3v30jgblncmwcsam6gg3d1zz6r7cbby";
|
2017-01-25 21:55:43 +00:00
|
|
|
|
2020-08-28 22:05:46 +01:00
|
|
|
extraBuildInputs = [ bignums ];
|
2017-01-25 21:55:43 +00:00
|
|
|
|
2020-08-28 22:05:46 +01:00
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://math-classes.github.io";
|
2017-01-25 21:55:43 +00:00
|
|
|
description = "A library of abstract interfaces for mathematical structures in Coq.";
|
2017-07-19 00:09:20 +01:00
|
|
|
maintainers = with maintainers; [ siddharthist jwiegley ];
|
2017-01-25 21:55:43 +00:00
|
|
|
};
|
|
|
|
}
|