2021-01-09 10:05:03 +00:00
|
|
|
{ lib, mkCoqDerivation, coq, bignums, version ? null }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
with lib; mkCoqDerivation {
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
pname = "math-classes";
|
|
|
|
inherit version;
|
2021-02-05 17:12:51 +00:00
|
|
|
defaultVersion = if versions.range "8.6" "8.12" coq.coq-version then "8.12.0" else null;
|
|
|
|
release."8.12.0".sha256 = "14nd6a08zncrl5yg2gzk0xf4iinwq4hxnsgm4fyv07ydbkxfb425";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
extraBuildInputs = [ 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.";
|
|
|
|
maintainers = with maintainers; [ siddharthist jwiegley ];
|
|
|
|
};
|
|
|
|
}
|