1 { lib, mkCoqDerivation, coq, bignums, version ? null }:
5 pname = "math-classes";
7 defaultVersion = with lib.versions; lib.switch coq.coq-version [
8 { case = range "8.12" "8.18"; out = "8.18.0"; }
9 { case = range "8.12" "8.17"; out = "8.17.0"; }
10 { case = range "8.6" "8.16"; out = "8.15.0"; }
12 release."8.12.0".sha256 = "14nd6a08zncrl5yg2gzk0xf4iinwq4hxnsgm4fyv07ydbkxfb425";
13 release."8.13.0".sha256 = "1ln7ziivfbxzbdvlhbvyg3v30jgblncmwcsam6gg3d1zz6r7cbby";
14 release."8.15.0".sha256 = "10w1hm537k6jx8a8vghq1yx12rsa0sjk2ipv3scgir71ln30hllw";
15 release."8.17.0".sha256 = "sha256-WklL8pgYTd0l4TGt7h7tWj1qcFcXvoPn25+XKF1pIKA=";
16 release."8.18.0".sha256 = "sha256-0WwPss8+Vr37zX616xeuS4TvtImtSbToFQkQostIjO8=";
18 propagatedBuildInputs = [ bignums ];
21 homepage = "https://math-classes.github.io";
22 description = "A library of abstract interfaces for mathematical structures in Coq.";
23 maintainers = with lib.maintainers; [ siddharthist jwiegley ];