Skip to content

Commit 0dddd9b

Browse files
committed
ocamlPackages.elpi: 3.0.1 → 3.3.0
1 parent bceca72 commit 0dddd9b

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

pkgs/development/ocaml-modules/elpi/default.nix

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@
1313
ncurses,
1414
ppx_deriving,
1515
ppx_deriving_0_15,
16+
ppx_deriving_0_33,
17+
ppx_optcomp,
1618
coqPackages,
1719
version ?
1820
if lib.versionAtLeast ocaml.version "4.13" then
19-
"3.0.1"
21+
"3.3.0"
2022
else if lib.versionAtLeast ocaml.version "4.08" then
2123
"1.20.0"
2224
else
@@ -32,6 +34,7 @@ in
3234

3335
let
3436
fetched = coqPackages.metaFetch ({
37+
release."3.3.0".sha256 = "sha256:963f95eea48b8f853cca9cbe4db49f22343c58e88dc961bc1da303356ef50dcd";
3538
release."3.0.1".sha256 = "sha256-r4B0xn6UCVslVW4dHiqq8NBMGfNz44kZy48KDWeGquc=";
3639
release."2.0.7".sha256 = "sha256-gCM+vZK6vWlhSO1VMjiWHse23mvxVwRarhxwkIQK7e0=";
3740
release."2.0.6".sha256 = "sha256-tRUYXQZ0VXrjIZBZ1skdzieUsww4rSNEe5ik+iKpk3U=";
@@ -76,6 +79,7 @@ buildDunePackage {
7679
buildInputs = [
7780
ncurses
7881
]
82+
++ lib.optional (lib.versionAtLeast version "3.3.0" || version == "dev") ppx_optcomp
7983
++ lib.optional (lib.versionAtLeast version "1.16" || version == "dev") atdgen-runtime;
8084

8185
propagatedBuildInputs = [
@@ -84,10 +88,14 @@ buildDunePackage {
8488
]
8589
++ (if lib.versionAtLeast version "1.15" || version == "dev" then [ menhirLib ] else [ camlp5 ])
8690
++ (
87-
if lib.versionAtLeast version "1.13" || version == "dev" then
91+
if lib.versionAtLeast version "3.3.0" || version == "dev" then
8892
[
8993
ppx_deriving
9094
]
95+
else if lib.versionAtLeast version "1.13" then
96+
[
97+
ppx_deriving_0_33
98+
]
9199
else
92100
[
93101
ppx_deriving_0_15

pkgs/development/rocq-modules/rocq-elpi/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ let
4040
(case (range "9.0" "9.1") "2.6.0")
4141
(case ("9.0") "2.5.2")
4242
] null;
43+
release."3.1.0".sha256 = "sha256-ytGPGwJv+jmRT6uN0sg6q+xh8ND0PMIZ9ULB0Uwca1w=";
4344
release."3.0.0".sha256 = "sha256-YMe2is7duGcvAHjM4joUE90EloibjSxqfZThsJhstdU=";
4445
release."2.6.0".sha256 = "sha256-23BHq1NFUkI3ayXnGUwiGFySLyY3EuH4RyMgAhQqI4g=";
4546
release."2.5.2".sha256 = "sha256-lLzjPrbVB3rrqox528YiheUb0u89R84Xmrgkn0oplOs=";

pkgs/top-level/ocaml-packages.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ let
548548
in
549549
{
550550
ppx_deriving_0_15 = ppx_deriving_ "0.15";
551-
ppx_deriving = ppx_deriving_ "0.33.0";
551+
ppx_deriving_0_33 = ppx_deriving_ "0.33.0";
552552
}
553553
);
554554

0 commit comments

Comments
 (0)