summary refs log tree commit diff
path: root/pkgs/development/coq-modules/math-classes/default.nix
blob: 6ae6956110a5c41f7ac63e7a6ded7b4f97cc336e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, mkCoqDerivation, coq, bignums, version ? null }:

mkCoqDerivation {

  pname = "math-classes";
  inherit version;
  defaultVersion = with lib.versions; lib.switch coq.coq-version [
    { case = range "8.12" "8.17"; out = "8.17.0"; }
    { case = range "8.6"  "8.16"; out = "8.15.0"; }
  ] null;
  release."8.12.0".sha256 = "14nd6a08zncrl5yg2gzk0xf4iinwq4hxnsgm4fyv07ydbkxfb425";
  release."8.13.0".sha256 = "1ln7ziivfbxzbdvlhbvyg3v30jgblncmwcsam6gg3d1zz6r7cbby";
  release."8.15.0".sha256 = "10w1hm537k6jx8a8vghq1yx12rsa0sjk2ipv3scgir71ln30hllw";
  release."8.17.0".sha256 = "sha256-WklL8pgYTd0l4TGt7h7tWj1qcFcXvoPn25+XKF1pIKA=";

  propagatedBuildInputs = [ bignums ];

  meta = {
    homepage = "https://math-classes.github.io";
    description = "A library of abstract interfaces for mathematical structures in Coq.";
    maintainers = with lib.maintainers; [ siddharthist jwiegley ];
  };
}