ocamlPackages.hxd: 0.3.2 -> 0.3.3 (#364231)
[NixPkgs.git] / pkgs / development / coq-modules / coqeal / default.nix
blob8876f02dcd7d1e31e8b03b3dae0fbcf12a2f6e71
2   coq,
3   mkCoqDerivation,
4   mathcomp,
5   bignums,
6   paramcoq,
7   multinomials,
8   mathcomp-real-closed,
9   lib,
10   version ? null,
13 (mkCoqDerivation {
15   pname = "CoqEAL";
17   inherit version;
18   defaultVersion =
19     with lib.versions;
20     lib.switch
21       [ coq.version mathcomp.version ]
22       [
23         {
24           cases = [
25             (range "8.16" "8.20")
26             (isGe "2.0.0")
27           ];
28           out = "2.0.1";
29         }
30         {
31           cases = [
32             (range "8.16" "8.17")
33             (isGe "2.0.0")
34           ];
35           out = "2.0.0";
36         }
37         {
38           cases = [
39             (range "8.15" "8.18")
40             (range "1.15.0" "1.18.0")
41           ];
42           out = "1.1.3";
43         }
44         {
45           cases = [
46             (range "8.13" "8.17")
47             (range "1.13.0" "1.18.0")
48           ];
49           out = "1.1.1";
50         }
51         {
52           cases = [
53             (range "8.10" "8.15")
54             (range "1.12.0" "1.18.0")
55           ];
56           out = "1.1.0";
57         }
58         {
59           cases = [
60             (isGe "8.10")
61             (range "1.11.0" "1.12.0")
62           ];
63           out = "1.0.5";
64         }
65         {
66           cases = [
67             (isGe "8.7")
68             "1.11.0"
69           ];
70           out = "1.0.4";
71         }
72         {
73           cases = [
74             (isGe "8.7")
75             "1.10.0"
76           ];
77           out = "1.0.3";
78         }
79       ]
80       null;
82   release."2.0.1".sha256 = "sha256-d/IQ4IdS2tpyPewcGobj2S6m2HU+iXQmlvR+ITNIcjI=";
83   release."2.0.0".sha256 = "sha256-SG/KVnRJz2P+ZxkWVp1dDOnc/JVgigoexKfRUh1Y0GM";
84   release."1.1.3".sha256 = "sha256-xhqWpg86xbU1GbDtXXInNCTArjjPnWZctWiiasq1ScU=";
85   release."1.1.1".sha256 = "sha256-ExAdC3WuArNxS+Sa1r4x5aT7ylbCvP/BZXfkdQNAvZ8=";
86   release."1.1.0".sha256 = "1vyhfna5frkkq2fl1fkg2mwzpg09k3sbzxxpyp14fjay81xajrxr";
87   release."1.0.6".sha256 = "0lqkyfj4qbq8wr3yk8qgn7mclw582n3fjl9l19yp8cnchspzywx0";
88   release."1.0.5".sha256 = "0cmvky8glb5z2dy3q62aln6qbav4lrf2q1589f6h1gn5bgjrbzkm";
89   release."1.0.4".sha256 = "1g5m26lr2lwxh6ld2gykailhay4d0ayql4bfh0aiwqpmmczmxipk";
90   release."1.0.3".sha256 = "0hc63ny7phzbihy8l7wxjvn3haxx8jfnhi91iw8hkq8n29i23v24";
92   propagatedBuildInputs = [
93     mathcomp.algebra
94     bignums
95     paramcoq
96     multinomials
97   ];
99   meta = {
100     description = "CoqEAL - The Coq Effective Algebra Library";
101     license = lib.licenses.mit;
102   };
103 }).overrideAttrs
104   (o: {
105     propagatedBuildInputs =
106       o.propagatedBuildInputs
107       ++ lib.optional (lib.versions.isGe "1.1" o.version || o.version == "dev") mathcomp-real-closed;
108   })