ocamlPackages.ppxlib: 0.33.0 → 0.36.0
ocamlPackages.base_quickcheck: 0.17.0 → 0.17.1 ocamlPackages.optcomp: 0.17.0 → 0.17.1 ocamlPackages.ppx_bench: 0.17.0 → 0.17.1 ocamlPackages.ppx_bin_prot: 0.17.0 → 0.17.1 ocamlPackages.ppx_deriving: 6.0.3 → 6.1.0 ocamlPackages.ppx_deriving_qcheck: 0.6 → 0.7 ocamlPackages.ppx_deriving_yaml: 0.3.0 → 0.4.1 ocamlPackages.ppx_deriving_yojson: 3.9.0 → 3.10.0 ocamlPackages.ppx_diff: 0.17.0 → 0.17.1 ocamlPackages.ppx_expect: 0.17.2 → 0.17.3 ocamlPackages.ppx_globalize: 0.17.0 → 0.17.2 ocamlPackages.ppx_inline_test: 0.17.0 → 0.17.1 ocamlPackages.ppx_let: 0.17.0 → 0.17.1 ocamlPackages.ppx_stable: 0.17.0 → 0.17.1 ocamlPackages.ppx_tydi: 0.17.0 → 0.17.1 ocamlPackages.ppx_typeprep_conv: 0.17.0 → 0.17.1 ocamlPackages.ppx_variants_conv: 0.17.0 → 0.17.1 ocamlPackages.sexp_conv: 0.17.0 → 0.17.1 ocamlPackages.sexp_message: 0.17.2 → 0.17.4 reason: 3.15.0 → 3.16.0 ocamlPackages.bisect_ppx: make compatible with ppxlib 0.36 ocamlPackages.config: make compatible with ppxlib 0.36 ocamlPackages.lwt_ppx: make compatible with ppxlib 0.36 ocamlPackages.melange: make compatible with ppxlib 0.36 ocamlPackages.ppx_bitstring: make compatible with ppxlib 0.36 ocamlPackages.ppx_repr: make compatible with ppxlib 0.36 ocamlPackages.bistro: mark as broken ocamlPackages.dream-html: mark as broken ocamlPackages.ocsigen-ppx-rpc: mark as broken ocamlPackages.ppx_deriving_cmdliner: mark as broken ocamlPackages.reason-react-ppx: mark as broken
This commit is contained in:
committed by
Vincent Laporte
parent
df50c98477
commit
97eb7ee0da
@@ -14,15 +14,30 @@
|
|||||||
dune-build-info,
|
dune-build-info,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
param =
|
||||||
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "3.16.0";
|
||||||
|
hash = "sha256-R7DkOn00jiqFBlirS+xaT7u5/U/z7IocGBZRFVjFNk4=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
version = "3.15.0";
|
||||||
|
|
||||||
|
hash = "sha256-7D0gJfQ5Hw0riNIFPmJ6haoa3dnFEyDp5yxpDgX7ZqY=";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "reason";
|
pname = "reason";
|
||||||
version = "3.15.0";
|
inherit (param) version;
|
||||||
|
|
||||||
minimalOCamlVersion = "4.11";
|
minimalOCamlVersion = "4.11";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/reasonml/reason/releases/download/${version}/reason-${version}.tbz";
|
url = "https://github.com/reasonml/reason/releases/download/${version}/reason-${version}.tbz";
|
||||||
hash = "sha256-7D0gJfQ5Hw0riNIFPmJ6haoa3dnFEyDp5yxpDgX7ZqY=";
|
inherit (param) hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
buildDunePackage,
|
buildDunePackage,
|
||||||
cmdliner,
|
cmdliner,
|
||||||
ppxlib,
|
ppxlib,
|
||||||
@@ -17,6 +18,12 @@ buildDunePackage rec {
|
|||||||
hash = "sha256-3qXobZLPivFDtls/3WNqDuAgWgO+tslJV47kjQPoi6o=";
|
hash = "sha256-3qXobZLPivFDtls/3WNqDuAgWgO+tslJV47kjQPoi6o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Ensure compatibility with ppxlib 0.36
|
||||||
|
patches = lib.optional (lib.versionAtLeast ppxlib.version "0.36") (fetchpatch {
|
||||||
|
url = "https://github.com/aantron/bisect_ppx/commit/f35fdf4bdcb82c308d70f7c9c313a77777f54bdf.patch";
|
||||||
|
hash = "sha256-hQMDU6zrHDV9JszGAj2p4bd9zlqqjc1TLU+cfMEgz9c=";
|
||||||
|
});
|
||||||
|
|
||||||
minimalOCamlVersion = "4.11";
|
minimalOCamlVersion = "4.11";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
rresult,
|
rresult,
|
||||||
sexplib,
|
sexplib,
|
||||||
tyxml,
|
tyxml,
|
||||||
|
ppxlib,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
@@ -47,5 +48,6 @@ buildDunePackage rec {
|
|||||||
description = "Build and execute typed scientific workflows";
|
description = "Build and execute typed scientific workflows";
|
||||||
maintainers = [ lib.maintainers.vbgl ];
|
maintainers = [ lib.maintainers.vbgl ];
|
||||||
license = lib.licenses.gpl2;
|
license = lib.licenses.gpl2;
|
||||||
|
meta.broken = lib.versionAtLeast ppxlib.version "0.36";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
buildDunePackage,
|
buildDunePackage,
|
||||||
|
fetchpatch,
|
||||||
ocaml,
|
ocaml,
|
||||||
bitstring,
|
bitstring,
|
||||||
ppxlib,
|
ppxlib,
|
||||||
@@ -15,7 +16,10 @@ else
|
|||||||
pname = "ppx_bitstring";
|
pname = "ppx_bitstring";
|
||||||
inherit (bitstring) version src;
|
inherit (bitstring) version src;
|
||||||
|
|
||||||
duneVersion = "3";
|
patches = lib.optional (lib.versionAtLeast ppxlib.version "0.36") (fetchpatch {
|
||||||
|
url = "https://github.com/xguerin/bitstring/commit/b42d4924cbb5ec5fd5309e6807852b63f456f35d.patch";
|
||||||
|
hash = "sha256-wtpSnGOzIUTmB3LhyHGopecy7F/5SYFOwaR6eReV+6g=";
|
||||||
|
});
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
bitstring
|
bitstring
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
lib,
|
lib,
|
||||||
buildDunePackage,
|
buildDunePackage,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
|
fetchpatch,
|
||||||
ppxlib,
|
ppxlib,
|
||||||
spices,
|
spices,
|
||||||
}:
|
}:
|
||||||
@@ -15,6 +16,12 @@ buildDunePackage rec {
|
|||||||
hash = "sha256-bcRCfLX2ro8vnQTJiX2aYGJC+eD26vkPynMYg817YFM=";
|
hash = "sha256-bcRCfLX2ro8vnQTJiX2aYGJC+eD26vkPynMYg817YFM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Compatibility with ppxlib 0.36
|
||||||
|
patches = lib.optional (lib.versionAtLeast ppxlib.version "0.36") (fetchpatch {
|
||||||
|
url = "https://github.com/ocaml-sys/config.ml/commit/89222d8088cc3c530eb0094d7ff8ec8a67da07d1.patch";
|
||||||
|
hash = "sha256-/jNsUXoUrfza5BCpEo7XtEjKwQX3ofEq99v0+UBh7ss=";
|
||||||
|
});
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
ppxlib
|
ppxlib
|
||||||
spices
|
spices
|
||||||
|
|||||||
@@ -23,5 +23,6 @@ buildDunePackage {
|
|||||||
description = "Write HTML directly in your OCaml source files with editor support";
|
description = "Write HTML directly in your OCaml source files with editor support";
|
||||||
license = lib.licenses.gpl3;
|
license = lib.licenses.gpl3;
|
||||||
maintainers = [ lib.maintainers.naora ];
|
maintainers = [ lib.maintainers.naora ];
|
||||||
|
broken = lib.versionAtLeast ppxlib.version "0.36";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,9 +11,7 @@
|
|||||||
re,
|
re,
|
||||||
perl,
|
perl,
|
||||||
ncurses,
|
ncurses,
|
||||||
ppxlib,
|
|
||||||
ppx_deriving,
|
ppx_deriving,
|
||||||
ppxlib_0_15,
|
|
||||||
ppx_deriving_0_15,
|
ppx_deriving_0_15,
|
||||||
coqPackages,
|
coqPackages,
|
||||||
version ?
|
version ?
|
||||||
@@ -88,12 +86,10 @@ buildDunePackage {
|
|||||||
++ (
|
++ (
|
||||||
if lib.versionAtLeast version "1.13" || version == "dev" then
|
if lib.versionAtLeast version "1.13" || version == "dev" then
|
||||||
[
|
[
|
||||||
ppxlib
|
|
||||||
ppx_deriving
|
ppx_deriving
|
||||||
]
|
]
|
||||||
else
|
else
|
||||||
[
|
[
|
||||||
ppxlib_0_15
|
|
||||||
ppx_deriving_0_15
|
ppx_deriving_0_15
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ buildDunePackage rec {
|
|||||||
js_of_ocaml-compiler
|
js_of_ocaml-compiler
|
||||||
nodejs
|
nodejs
|
||||||
];
|
];
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.13";
|
doCheck = lib.versionAtLeast ocaml.version "4.13" && !(lib.versionAtLeast ppxlib.version "0.36");
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/LexiFi/gen_js_api";
|
homepage = "https://github.com/LexiFi/gen_js_api";
|
||||||
|
|||||||
@@ -133,6 +133,7 @@ with self;
|
|||||||
js_of_ocaml
|
js_of_ocaml
|
||||||
uri-sexp
|
uri-sexp
|
||||||
];
|
];
|
||||||
|
meta.broken = lib.versionAtLeast ppxlib.version "0.36";
|
||||||
};
|
};
|
||||||
|
|
||||||
async_kernel = janePackage {
|
async_kernel = janePackage {
|
||||||
@@ -297,9 +298,9 @@ with self;
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
base_quickcheck = janePackage {
|
base_quickcheck = janePackage (
|
||||||
|
{
|
||||||
pname = "base_quickcheck";
|
pname = "base_quickcheck";
|
||||||
hash = "sha256-jDxO+/9Qnntt6ZNX1xvaWvoJ0JpnPqeq8X8nsYpeqsY=";
|
|
||||||
meta.description = "Randomized testing framework, designed for compatibility with Base";
|
meta.description = "Randomized testing framework, designed for compatibility with Base";
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
ppx_base
|
ppx_base
|
||||||
@@ -308,7 +309,20 @@ with self;
|
|||||||
ppx_sexp_value
|
ppx_sexp_value
|
||||||
splittable_random
|
splittable_random
|
||||||
];
|
];
|
||||||
};
|
}
|
||||||
|
// (
|
||||||
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "0.17.1";
|
||||||
|
hash = "sha256-0s40sGu2FvaUjvC5JSvHlRhbyQV1bVPrVTTWdHtTQ+k=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
version = "0.17.0";
|
||||||
|
hash = "sha256-jDxO+/9Qnntt6ZNX1xvaWvoJ0JpnPqeq8X8nsYpeqsY=";
|
||||||
|
}
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
bidirectional_map = janePackage {
|
bidirectional_map = janePackage {
|
||||||
pname = "bidirectional_map";
|
pname = "bidirectional_map";
|
||||||
@@ -818,6 +832,7 @@ with self;
|
|||||||
js_of_ocaml-ppx
|
js_of_ocaml-ppx
|
||||||
];
|
];
|
||||||
patches = [ ./js_of_ocaml_patches.patch ];
|
patches = [ ./js_of_ocaml_patches.patch ];
|
||||||
|
meta.broken = lib.versionAtLeast ppxlib.version "0.36";
|
||||||
};
|
};
|
||||||
|
|
||||||
jsonaf = janePackage {
|
jsonaf = janePackage {
|
||||||
@@ -1083,23 +1098,49 @@ with self;
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
ppx_bench = janePackage {
|
ppx_bench = janePackage (
|
||||||
|
{
|
||||||
pname = "ppx_bench";
|
pname = "ppx_bench";
|
||||||
hash = "sha256-y4nL/wwjJUL2Fa7Ne0f7SR5flCjT1ra9M1uBHOUZWCg=";
|
|
||||||
meta.description = "Syntax extension for writing in-line benchmarks in ocaml code";
|
meta.description = "Syntax extension for writing in-line benchmarks in ocaml code";
|
||||||
propagatedBuildInputs = [ ppx_inline_test ];
|
propagatedBuildInputs = [ ppx_inline_test ];
|
||||||
};
|
}
|
||||||
|
// (
|
||||||
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "0.17.1";
|
||||||
|
hash = "sha256-nHqZSyJ5mZ86SGu9WtoVNfYTnd5kslyI8Zm/LJ7b/Fo=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
version = "0.17.0";
|
||||||
|
hash = "sha256-y4nL/wwjJUL2Fa7Ne0f7SR5flCjT1ra9M1uBHOUZWCg=";
|
||||||
|
}
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
ppx_bin_prot = janePackage {
|
ppx_bin_prot = janePackage (
|
||||||
|
{
|
||||||
pname = "ppx_bin_prot";
|
pname = "ppx_bin_prot";
|
||||||
hash = "sha256-nQps/+Csx3+6H6KBzIm/dLCGWJ9fcRD7JxB4P2lky0o=";
|
|
||||||
meta.description = "Generation of bin_prot readers and writers from types";
|
meta.description = "Generation of bin_prot readers and writers from types";
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
bin_prot
|
bin_prot
|
||||||
ppx_here
|
ppx_here
|
||||||
];
|
];
|
||||||
doCheck = false; # circular dependency with ppx_jane
|
doCheck = false; # circular dependency with ppx_jane
|
||||||
};
|
}
|
||||||
|
// (
|
||||||
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "0.17.1";
|
||||||
|
hash = "sha256-9TNtRwieITJMZs+7RT7tOf1GwVlxuGeKZktVon9B7g4=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
version = "0.17.0";
|
||||||
|
hash = "sha256-nQps/+Csx3+6H6KBzIm/dLCGWJ9fcRD7JxB4P2lky0o=";
|
||||||
|
}
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
ppx_cold = janePackage {
|
ppx_cold = janePackage {
|
||||||
pname = "ppx_cold";
|
pname = "ppx_cold";
|
||||||
@@ -1186,11 +1227,12 @@ with self;
|
|||||||
ppx_jane
|
ppx_jane
|
||||||
ppxlib
|
ppxlib
|
||||||
];
|
];
|
||||||
|
meta.broken = lib.versionAtLeast ppxlib.version "0.36";
|
||||||
};
|
};
|
||||||
|
|
||||||
ppx_diff = janePackage {
|
ppx_diff = janePackage (
|
||||||
|
{
|
||||||
pname = "ppx_diff";
|
pname = "ppx_diff";
|
||||||
hash = "sha256-MAn+vcU6vLR8g16Wq1sORyLcLgWxLsazMQY1syY6HsA=";
|
|
||||||
meta.description = "Generation of diffs and update functions for ocaml types";
|
meta.description = "Generation of diffs and update functions for ocaml types";
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
base
|
base
|
||||||
@@ -1199,7 +1241,20 @@ with self;
|
|||||||
ppx_enumerate
|
ppx_enumerate
|
||||||
ppx_jane
|
ppx_jane
|
||||||
];
|
];
|
||||||
};
|
}
|
||||||
|
// (
|
||||||
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "0.17.1";
|
||||||
|
hash = "sha256-eWzlEIPjNcxhz2Q5+y7fv9mJDJzauOpJ993CXoy8nh4=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
version = "0.17.0";
|
||||||
|
hash = "sha256-MAn+vcU6vLR8g16Wq1sORyLcLgWxLsazMQY1syY6HsA=";
|
||||||
|
}
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
ppx_disable_unused_warnings = janePackage {
|
ppx_disable_unused_warnings = janePackage {
|
||||||
pname = "ppx_disable_unused_warnings";
|
pname = "ppx_disable_unused_warnings";
|
||||||
@@ -1230,10 +1285,9 @@ with self;
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
ppx_expect = janePackage {
|
ppx_expect = janePackage (
|
||||||
|
{
|
||||||
pname = "ppx_expect";
|
pname = "ppx_expect";
|
||||||
version = "0.17.2";
|
|
||||||
hash = "sha256-na9n/+shkiHIIUQ2ZitybQ6NNsSS9gWFNAFxij+JNVo=";
|
|
||||||
meta.description = "Cram like framework for OCaml";
|
meta.description = "Cram like framework for OCaml";
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
ppx_here
|
ppx_here
|
||||||
@@ -1241,7 +1295,20 @@ with self;
|
|||||||
re
|
re
|
||||||
];
|
];
|
||||||
doCheck = false; # test build rules broken
|
doCheck = false; # test build rules broken
|
||||||
};
|
}
|
||||||
|
// (
|
||||||
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "0.17.3";
|
||||||
|
hash = "sha256-eYZ3p3FYjHd15pj79TKyHSHNKRSWj80iHJFxBZN40s4=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
version = "0.17.2";
|
||||||
|
hash = "sha256-na9n/+shkiHIIUQ2ZitybQ6NNsSS9gWFNAFxij+JNVo=";
|
||||||
|
}
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
ppx_fields_conv = janePackage {
|
ppx_fields_conv = janePackage {
|
||||||
pname = "ppx_fields_conv";
|
pname = "ppx_fields_conv";
|
||||||
@@ -1260,16 +1327,29 @@ with self;
|
|||||||
propagatedBuildInputs = [ ppxlib ];
|
propagatedBuildInputs = [ ppxlib ];
|
||||||
};
|
};
|
||||||
|
|
||||||
ppx_globalize = janePackage {
|
ppx_globalize = janePackage (
|
||||||
|
{
|
||||||
pname = "ppx_globalize";
|
pname = "ppx_globalize";
|
||||||
hash = "sha256-LKV5zfaf6AXn3NzOhN2ka8NtjItPTIsfmoJVBw5bYi8=";
|
|
||||||
meta.description = "PPX rewriter that generates functions to copy local values to the global heap";
|
meta.description = "PPX rewriter that generates functions to copy local values to the global heap";
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
base
|
base
|
||||||
ppxlib
|
ppxlib
|
||||||
ppxlib_jane
|
ppxlib_jane
|
||||||
];
|
];
|
||||||
};
|
}
|
||||||
|
// (
|
||||||
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "0.17.2";
|
||||||
|
hash = "sha256-5pHqyv94DXpSG69TEATcnJwFh5YurxVCM5ZPtrlbXSo=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
version = "0.17.0";
|
||||||
|
hash = "sha256-LKV5zfaf6AXn3NzOhN2ka8NtjItPTIsfmoJVBw5bYi8=";
|
||||||
|
}
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
ppx_hash = janePackage {
|
ppx_hash = janePackage {
|
||||||
pname = "ppx_hash";
|
pname = "ppx_hash";
|
||||||
@@ -1296,16 +1376,29 @@ with self;
|
|||||||
propagatedBuildInputs = [ ppxlib ];
|
propagatedBuildInputs = [ ppxlib ];
|
||||||
};
|
};
|
||||||
|
|
||||||
ppx_inline_test = janePackage {
|
ppx_inline_test = janePackage (
|
||||||
|
{
|
||||||
pname = "ppx_inline_test";
|
pname = "ppx_inline_test";
|
||||||
hash = "sha256-pNdrmAlT3MUbuPUcMmCRcUIXv4fZ/o/IofJmnUKf8Cs=";
|
|
||||||
meta.description = "Syntax extension for writing in-line tests in ocaml code";
|
meta.description = "Syntax extension for writing in-line tests in ocaml code";
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
ppxlib
|
ppxlib
|
||||||
time_now
|
time_now
|
||||||
];
|
];
|
||||||
doCheck = false; # test build rules broken
|
doCheck = false; # test build rules broken
|
||||||
};
|
}
|
||||||
|
// (
|
||||||
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "0.17.1";
|
||||||
|
hash = "sha256-wNDDdNUeWTW87HRKbRSuOXaCPQnDWx7/RXuCDISc9Pg=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
version = "0.17.0";
|
||||||
|
hash = "sha256-pNdrmAlT3MUbuPUcMmCRcUIXv4fZ/o/IofJmnUKf8Cs=";
|
||||||
|
}
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
ppx_jane = janePackage {
|
ppx_jane = janePackage {
|
||||||
pname = "ppx_jane";
|
pname = "ppx_jane";
|
||||||
@@ -1342,6 +1435,7 @@ with self;
|
|||||||
ppx_jane
|
ppx_jane
|
||||||
ppxlib
|
ppxlib
|
||||||
];
|
];
|
||||||
|
meta.broken = lib.versionAtLeast ppxlib.version "0.36";
|
||||||
};
|
};
|
||||||
|
|
||||||
ppx_js_style = janePackage {
|
ppx_js_style = janePackage {
|
||||||
@@ -1352,17 +1446,31 @@ with self;
|
|||||||
octavius
|
octavius
|
||||||
ppxlib
|
ppxlib
|
||||||
];
|
];
|
||||||
|
meta.broken = lib.versionAtLeast ppxlib.version "0.36";
|
||||||
};
|
};
|
||||||
|
|
||||||
ppx_let = janePackage {
|
ppx_let = janePackage (
|
||||||
|
{
|
||||||
pname = "ppx_let";
|
pname = "ppx_let";
|
||||||
hash = "sha256-JkNQgbPHVDH659m4Xy9ipcZ/iqGtj5q1qQn1P+O7TUY=";
|
|
||||||
meta.description = "Monadic let-bindings";
|
meta.description = "Monadic let-bindings";
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
ppxlib
|
ppxlib
|
||||||
ppx_here
|
ppx_here
|
||||||
];
|
];
|
||||||
};
|
}
|
||||||
|
// (
|
||||||
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "0.17.1";
|
||||||
|
hash = "sha256-41C60UcMpERZs2eAPprg63uPnmjj33n7cd5s5IFZBGE=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
version = "0.17.0";
|
||||||
|
hash = "sha256-JkNQgbPHVDH659m4Xy9ipcZ/iqGtj5q1qQn1P+O7TUY=";
|
||||||
|
}
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
ppx_log = janePackage {
|
ppx_log = janePackage {
|
||||||
pname = "ppx_log";
|
pname = "ppx_log";
|
||||||
@@ -1393,12 +1501,25 @@ with self;
|
|||||||
propagatedBuildInputs = [ time_now ];
|
propagatedBuildInputs = [ time_now ];
|
||||||
};
|
};
|
||||||
|
|
||||||
ppx_optcomp = janePackage {
|
ppx_optcomp = janePackage (
|
||||||
|
{
|
||||||
pname = "ppx_optcomp";
|
pname = "ppx_optcomp";
|
||||||
hash = "sha256-H9oTzhJx9IGRkcwY2YEvcvNgeJ8ETNO95qKcjTXJBwk=";
|
|
||||||
meta.description = "Optional compilation for OCaml";
|
meta.description = "Optional compilation for OCaml";
|
||||||
propagatedBuildInputs = [ ppxlib ];
|
propagatedBuildInputs = [ ppxlib ];
|
||||||
};
|
}
|
||||||
|
// (
|
||||||
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "0.17.1";
|
||||||
|
hash = "sha256-mi9YM0WGkc4sI1GF2YGTFwmPdF+4s5Ou2l7i07ys9nw=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
version = "0.17.0";
|
||||||
|
hash = "sha256-H9oTzhJx9IGRkcwY2YEvcvNgeJ8ETNO95qKcjTXJBwk=";
|
||||||
|
}
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
ppx_optional = janePackage {
|
ppx_optional = janePackage {
|
||||||
pname = "ppx_optional";
|
pname = "ppx_optional";
|
||||||
@@ -1415,6 +1536,7 @@ with self;
|
|||||||
hash = "sha256-IVDvFU9ERB2YFJOgP/glYcO4KhEH5VdQ7wCCfreboqA=";
|
hash = "sha256-IVDvFU9ERB2YFJOgP/glYcO4KhEH5VdQ7wCCfreboqA=";
|
||||||
meta.description = "PPX for writing fast incremental bind nodes in a pattern match";
|
meta.description = "PPX for writing fast incremental bind nodes in a pattern match";
|
||||||
propagatedBuildInputs = [ ppx_let ];
|
propagatedBuildInputs = [ ppx_let ];
|
||||||
|
meta.broken = lib.versionAtLeast ppxlib.version "0.36";
|
||||||
};
|
};
|
||||||
|
|
||||||
ppx_pipebang = janePackage {
|
ppx_pipebang = janePackage {
|
||||||
@@ -1454,11 +1576,12 @@ with self;
|
|||||||
ppx_sexp_conv
|
ppx_sexp_conv
|
||||||
ppx_sexp_message
|
ppx_sexp_message
|
||||||
];
|
];
|
||||||
|
meta.broken = lib.versionAtLeast ppxlib.version "0.36";
|
||||||
};
|
};
|
||||||
|
|
||||||
ppx_sexp_conv = janePackage {
|
ppx_sexp_conv = janePackage (
|
||||||
|
{
|
||||||
pname = "ppx_sexp_conv";
|
pname = "ppx_sexp_conv";
|
||||||
hash = "sha256-hUi0I50SODK1MpL86xy8eM8yn8f4q1Hv4LP9zFnnr70=";
|
|
||||||
meta.description = "[@@deriving] plugin to generate S-expression conversion functions";
|
meta.description = "[@@deriving] plugin to generate S-expression conversion functions";
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
ppxlib
|
ppxlib
|
||||||
@@ -1466,7 +1589,20 @@ with self;
|
|||||||
sexplib0
|
sexplib0
|
||||||
base
|
base
|
||||||
];
|
];
|
||||||
};
|
}
|
||||||
|
// (
|
||||||
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "0.17.1";
|
||||||
|
hash = "sha256-yQJluA/NSzCAID/ydBgRuc1sFHyjbXare9vxen6f1iw=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
version = "0.17.0";
|
||||||
|
hash = "sha256-hUi0I50SODK1MpL86xy8eM8yn8f4q1Hv4LP9zFnnr70=";
|
||||||
|
}
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
ppx_sexp_message = janePackage {
|
ppx_sexp_message = janePackage {
|
||||||
pname = "ppx_sexp_message";
|
pname = "ppx_sexp_message";
|
||||||
@@ -1488,12 +1624,25 @@ with self;
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
ppx_stable = janePackage {
|
ppx_stable = janePackage (
|
||||||
|
{
|
||||||
pname = "ppx_stable";
|
pname = "ppx_stable";
|
||||||
hash = "sha256-N5oPjjQcLgiO9liX8Z0vg0IbQXaGZ4BqOgwvuIKSKaA=";
|
|
||||||
meta.description = "Stable types conversions generator";
|
meta.description = "Stable types conversions generator";
|
||||||
propagatedBuildInputs = [ ppxlib ];
|
propagatedBuildInputs = [ ppxlib ];
|
||||||
};
|
}
|
||||||
|
// (
|
||||||
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "0.17.1";
|
||||||
|
hash = "sha256-iVAgRVSOdLzajuUT8Yz+YMiMeChIx5DT8lBf104QMuE=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
version = "0.17.0";
|
||||||
|
hash = "sha256-N5oPjjQcLgiO9liX8Z0vg0IbQXaGZ4BqOgwvuIKSKaA=";
|
||||||
|
}
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
ppx_stable_witness = janePackage {
|
ppx_stable_witness = janePackage {
|
||||||
pname = "ppx_stable_witness";
|
pname = "ppx_stable_witness";
|
||||||
@@ -1527,15 +1676,28 @@ with self;
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
ppx_tydi = janePackage {
|
ppx_tydi = janePackage (
|
||||||
|
{
|
||||||
pname = "ppx_tydi";
|
pname = "ppx_tydi";
|
||||||
hash = "sha256-PM89fP6Rb6M99HgEzQ7LfpW1W5adw6J/E1LFQJtdd0U=";
|
|
||||||
meta.description = "Let expressions, inferring pattern type from expression";
|
meta.description = "Let expressions, inferring pattern type from expression";
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
base
|
base
|
||||||
ppxlib
|
ppxlib
|
||||||
];
|
];
|
||||||
};
|
}
|
||||||
|
// (
|
||||||
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "0.17.1";
|
||||||
|
hash = "sha256-dkZwu4Ujj7GKb4qo76f/ef5dvGrYSkk9B3y+Rg72CAM=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
version = "0.17.0";
|
||||||
|
hash = "sha256-PM89fP6Rb6M99HgEzQ7LfpW1W5adw6J/E1LFQJtdd0U=";
|
||||||
|
}
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
ppx_typed_fields = janePackage {
|
ppx_typed_fields = janePackage {
|
||||||
pname = "ppx_typed_fields";
|
pname = "ppx_typed_fields";
|
||||||
@@ -1546,27 +1708,54 @@ with self;
|
|||||||
ppx_jane
|
ppx_jane
|
||||||
ppxlib
|
ppxlib
|
||||||
];
|
];
|
||||||
|
meta.broken = lib.versionAtLeast ppxlib.version "0.36";
|
||||||
};
|
};
|
||||||
|
|
||||||
ppx_typerep_conv = janePackage {
|
ppx_typerep_conv = janePackage (
|
||||||
|
{
|
||||||
pname = "ppx_typerep_conv";
|
pname = "ppx_typerep_conv";
|
||||||
hash = "sha256-V9yOSy3cj5/bz9PvpO3J+aeFu1G+qGQ8AR3gSczUZbY=";
|
|
||||||
meta.description = "Generation of runtime types from type declarations";
|
meta.description = "Generation of runtime types from type declarations";
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
ppxlib
|
ppxlib
|
||||||
typerep
|
typerep
|
||||||
];
|
];
|
||||||
};
|
}
|
||||||
|
// (
|
||||||
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "0.17.1";
|
||||||
|
hash = "sha256-rxqL2v5vqjc7MgKUSkJEyIhm9GO5YqvxEYSM/uXdeBc=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
version = "0.17.0";
|
||||||
|
hash = "sha256-V9yOSy3cj5/bz9PvpO3J+aeFu1G+qGQ8AR3gSczUZbY=";
|
||||||
|
}
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
ppx_variants_conv = janePackage {
|
ppx_variants_conv = janePackage (
|
||||||
|
{
|
||||||
pname = "ppx_variants_conv";
|
pname = "ppx_variants_conv";
|
||||||
hash = "sha256-Av2F699LzVCpwcdji6qG0jt5DVxCnIY4eBLaPK1JC10=";
|
|
||||||
meta.description = "Generation of accessor and iteration functions for ocaml variant types";
|
meta.description = "Generation of accessor and iteration functions for ocaml variant types";
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
variantslib
|
variantslib
|
||||||
ppxlib
|
ppxlib
|
||||||
];
|
];
|
||||||
};
|
}
|
||||||
|
// (
|
||||||
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "0.17.1";
|
||||||
|
hash = "sha256-4v9sXtu7rDM+W3phPloizeMczRbBhku5dsCG4NqhdfU=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
version = "0.17.0";
|
||||||
|
hash = "sha256-Av2F699LzVCpwcdji6qG0jt5DVxCnIY4eBLaPK1JC10=";
|
||||||
|
}
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
ppxlib_jane = janePackage (
|
ppxlib_jane = janePackage (
|
||||||
{
|
{
|
||||||
@@ -1575,7 +1764,12 @@ with self;
|
|||||||
propagatedBuildInputs = [ ppxlib ];
|
propagatedBuildInputs = [ ppxlib ];
|
||||||
}
|
}
|
||||||
// (
|
// (
|
||||||
if lib.versionAtLeast ocaml.version "5.3" then
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "0.17.4";
|
||||||
|
hash = "sha256-cqF7aT0ubutRxsSTD5aHnHx4zvlPDkTzdBqONU6EgO0=";
|
||||||
|
}
|
||||||
|
else if lib.versionAtLeast ocaml.version "5.3" then
|
||||||
{
|
{
|
||||||
version = "0.17.2";
|
version = "0.17.2";
|
||||||
hash = "sha256-AQJSdKtF6p/aG5Lx8VHVEOsisH8ep+iiml6DtW+Hdik=";
|
hash = "sha256-AQJSdKtF6p/aG5Lx8VHVEOsisH8ep+iiml6DtW+Hdik=";
|
||||||
@@ -1847,6 +2041,7 @@ with self;
|
|||||||
ppx_jane
|
ppx_jane
|
||||||
ppxlib
|
ppxlib
|
||||||
];
|
];
|
||||||
|
meta.broken = lib.versionAtLeast ppxlib.version "0.36";
|
||||||
};
|
};
|
||||||
|
|
||||||
textutils = janePackage {
|
textutils = janePackage {
|
||||||
|
|||||||
@@ -23,5 +23,6 @@ buildDunePackage {
|
|||||||
Automatically or semi-automatically instrument your code using
|
Automatically or semi-automatically instrument your code using
|
||||||
landmarks library.
|
landmarks library.
|
||||||
'';
|
'';
|
||||||
|
broken = lib.versionAtLeast ppxlib.version "0.36";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,5 +22,6 @@ buildDunePackage {
|
|||||||
meta = lun.meta // {
|
meta = lun.meta // {
|
||||||
description = "Optics with lun package and PPX";
|
description = "Optics with lun package and PPX";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
|
broken = lib.versionAtLeast ppxlib.version "0.36";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
lib,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
buildDunePackage,
|
buildDunePackage,
|
||||||
lwt,
|
lwt,
|
||||||
ppxlib,
|
ppxlib,
|
||||||
@@ -9,6 +11,11 @@ buildDunePackage {
|
|||||||
pname = "lwt_ppx";
|
pname = "lwt_ppx";
|
||||||
inherit (lwt) version src;
|
inherit (lwt) version src;
|
||||||
|
|
||||||
|
patches = lib.optional (lib.versionAtLeast ppxlib.version "0.36") (fetchpatch {
|
||||||
|
url = "https://github.com/ocsigen/lwt/commit/96b7ac686208968503786bb6d101f4ee84c8d2e6.patch";
|
||||||
|
hash = "sha256-uxTwNVqV0O11WEKy66fphvGqW17FWDEzEylhVYNwNnY=";
|
||||||
|
});
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
lwt
|
lwt
|
||||||
ppxlib
|
ppxlib
|
||||||
|
|||||||
@@ -9,8 +9,6 @@ buildDunePackage rec {
|
|||||||
pname = "ocsigen-ppx-rpc";
|
pname = "ocsigen-ppx-rpc";
|
||||||
version = "1.0";
|
version = "1.0";
|
||||||
|
|
||||||
duneVersion = "3";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ocsigen";
|
owner = "ocsigen";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
@@ -25,6 +23,7 @@ buildDunePackage rec {
|
|||||||
description = "Syntax for RPCs for Eliom and Ocsigen Start";
|
description = "Syntax for RPCs for Eliom and Ocsigen Start";
|
||||||
license = lib.licenses.lgpl21Only;
|
license = lib.licenses.lgpl21Only;
|
||||||
maintainers = [ lib.maintainers.vbgl ];
|
maintainers = [ lib.maintainers.vbgl ];
|
||||||
|
broken = lib.versionAtLeast ppxlib.version "0.36";
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,9 @@
|
|||||||
ounit2,
|
ounit2,
|
||||||
ocaml-migrate-parsetree,
|
ocaml-migrate-parsetree,
|
||||||
version ?
|
version ?
|
||||||
if lib.versionAtLeast ppxlib.version "0.32" then
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
"6.1.0"
|
||||||
|
else if lib.versionAtLeast ppxlib.version "0.32" then
|
||||||
"6.0.3"
|
"6.0.3"
|
||||||
else if lib.versionAtLeast ppxlib.version "0.20" then
|
else if lib.versionAtLeast ppxlib.version "0.20" then
|
||||||
"5.2.1"
|
"5.2.1"
|
||||||
@@ -25,6 +27,7 @@
|
|||||||
let
|
let
|
||||||
hash =
|
hash =
|
||||||
{
|
{
|
||||||
|
"6.1.0" = "sha256-dHpWiOpjD3elCw6QJUrG+KZr3Ul0suhzdjQUJ4B9S1Y=";
|
||||||
"6.0.3" = "sha256-N0qpezLF4BwJqXgQpIv6IYwhO1tknkRSEBRVrBnJSm0=";
|
"6.0.3" = "sha256-N0qpezLF4BwJqXgQpIv6IYwhO1tknkRSEBRVrBnJSm0=";
|
||||||
"5.2.1" = "sha256:11h75dsbv3rs03pl67hdd3lbim7wjzh257ij9c75fcknbfr5ysz9";
|
"5.2.1" = "sha256:11h75dsbv3rs03pl67hdd3lbim7wjzh257ij9c75fcknbfr5ysz9";
|
||||||
"5.1" = "sha256:1i64fd7qrfzbam5hfbl01r0sx4iihsahcwqj13smmrjlnwi3nkxh";
|
"5.1" = "sha256:1i64fd7qrfzbam5hfbl01r0sx4iihsahcwqj13smmrjlnwi3nkxh";
|
||||||
|
|||||||
@@ -52,5 +52,6 @@ buildDunePackage rec {
|
|||||||
homepage = "https://github.com/hammerlab/ppx_deriving_cmdliner";
|
homepage = "https://github.com/hammerlab/ppx_deriving_cmdliner";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = [ maintainers.romildo ];
|
maintainers = [ maintainers.romildo ];
|
||||||
|
broken = lib.versionAtLeast ppxlib.version "0.36";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
buildDunePackage,
|
buildDunePackage,
|
||||||
|
fetchpatch,
|
||||||
rpclib,
|
rpclib,
|
||||||
alcotest,
|
alcotest,
|
||||||
ppxlib,
|
ppxlib,
|
||||||
@@ -14,7 +15,11 @@ buildDunePackage {
|
|||||||
inherit (rpclib) version src;
|
inherit (rpclib) version src;
|
||||||
|
|
||||||
minimalOCamlVersion = "4.08";
|
minimalOCamlVersion = "4.08";
|
||||||
duneVersion = "3";
|
|
||||||
|
patches = lib.optional (lib.versionAtLeast ppxlib.version "0.36") (fetchpatch {
|
||||||
|
url = "https://github.com/mirage/ocaml-rpc/commit/678b7c0e59f6add174f2a732861be21c3e9583d0.patch";
|
||||||
|
hash = "sha256-6Vl4/C02NQ/nPn+h9I/eT86R7GLZ/C8nSqBs4Ywzhwc=";
|
||||||
|
});
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
ppxlib
|
ppxlib
|
||||||
|
|||||||
@@ -9,15 +9,29 @@
|
|||||||
yaml,
|
yaml,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
param =
|
||||||
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "0.4.1";
|
||||||
|
hash = "sha256-3CvvMEOq/3I3WJ6X5EyopiaMjshZoEMPk2K4Lx0ldSo=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
version = "0.4.0";
|
||||||
|
hash = "sha256-MVwCFAZY9Ui1gOckfbbj882w2aloHCGmJhpL1BDUEAg=";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "ppx_deriving_yaml";
|
pname = "ppx_deriving_yaml";
|
||||||
version = "0.3.0";
|
inherit (param) version;
|
||||||
|
|
||||||
minimalOCamlVersion = "4.08";
|
minimalOCamlVersion = "4.08";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/patricoferris/ppx_deriving_yaml/releases/download/v${version}/ppx_deriving_yaml-${version}.tbz";
|
url = "https://github.com/patricoferris/ppx_deriving_yaml/releases/download/v${version}/ppx_deriving_yaml-${version}.tbz";
|
||||||
hash = "sha256-HLY0ozmy6zY0KjXkwP3drTdz857PvLS/buN1nB+xf1s=";
|
inherit (param) hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@@ -27,7 +41,10 @@ buildDunePackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [
|
||||||
|
alcotest
|
||||||
|
mdx
|
||||||
|
];
|
||||||
nativeCheckInputs = [ mdx.bin ];
|
nativeCheckInputs = [ mdx.bin ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
@@ -13,7 +13,13 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
param =
|
param =
|
||||||
if lib.versionAtLeast ppxlib.version "0.30" then
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "3.10.0";
|
||||||
|
sha256 = "sha256-Dy9egNpZdxsTPLo2mbpiFTMh5cYUXXOlOZLlQJuAK+E=";
|
||||||
|
checkInputs = [ ounit2 ];
|
||||||
|
}
|
||||||
|
else if lib.versionAtLeast ppxlib.version "0.30" then
|
||||||
{
|
{
|
||||||
version = "3.9.0";
|
version = "3.9.0";
|
||||||
sha256 = "sha256-0d6YcBkeFoHXffCYjLIIvruw8B9ZB6NbUijhTv9uyN8=";
|
sha256 = "sha256-0d6YcBkeFoHXffCYjLIIvruw8B9ZB6NbUijhTv9uyN8=";
|
||||||
|
|||||||
@@ -6,7 +6,10 @@
|
|||||||
version ?
|
version ?
|
||||||
if lib.versionAtLeast ocaml.version "4.07" then
|
if lib.versionAtLeast ocaml.version "4.07" then
|
||||||
if lib.versionAtLeast ocaml.version "4.08" then
|
if lib.versionAtLeast ocaml.version "4.08" then
|
||||||
if lib.versionAtLeast ocaml.version "4.11" then "0.33.0" else "0.24.0"
|
if lib.versionAtLeast ocaml.version "4.11" then
|
||||||
|
if lib.versionAtLeast ocaml.version "5.03" then "0.36.0" else "0.33.0"
|
||||||
|
else
|
||||||
|
"0.24.0"
|
||||||
else
|
else
|
||||||
"0.15.0"
|
"0.15.0"
|
||||||
else
|
else
|
||||||
@@ -84,6 +87,10 @@ let
|
|||||||
sha256 = "sha256-/6RO9VHyO3XiHb1pijAxBDE4Gq8UC5/kuBwucKLSxjo=";
|
sha256 = "sha256-/6RO9VHyO3XiHb1pijAxBDE4Gq8UC5/kuBwucKLSxjo=";
|
||||||
min_version = "4.07";
|
min_version = "4.07";
|
||||||
};
|
};
|
||||||
|
"0.36.0" = {
|
||||||
|
sha256 = "sha256-WrobzhTFMQhhQTARDIQ9AEv5O9LPOgd4/XCGuFOQpDQ=";
|
||||||
|
min_version = "4.08";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
."${version}";
|
."${version}";
|
||||||
in
|
in
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
lib,
|
||||||
buildDunePackage,
|
buildDunePackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
qcheck,
|
qcheck,
|
||||||
@@ -6,15 +7,30 @@
|
|||||||
ppx_deriving,
|
ppx_deriving,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
param =
|
||||||
|
if lib.versionAtLeast ppxlib.version "0.36" then
|
||||||
|
{
|
||||||
|
version = "0.7";
|
||||||
|
tag = "v0.25";
|
||||||
|
hash = "sha256-Z89jJ21zm89wb9m5HthnbHdnE9iXLyaH9k8S+FAWkKQ=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
version = "0.6";
|
||||||
|
tag = "v0.24";
|
||||||
|
hash = "sha256-iuFlmSeUhumeWhqHlaNqDjReRf8c4e76hhT27DK3+/g=";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
|
||||||
buildDunePackage {
|
buildDunePackage {
|
||||||
pname = "ppx_deriving_qcheck";
|
pname = "ppx_deriving_qcheck";
|
||||||
version = "0.6";
|
inherit (param) version;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "c-cube";
|
owner = "c-cube";
|
||||||
repo = "qcheck";
|
repo = "qcheck";
|
||||||
tag = "v0.24";
|
inherit (param) tag hash;
|
||||||
hash = "sha256-iuFlmSeUhumeWhqHlaNqDjReRf8c4e76hhT27DK3+/g=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|||||||
@@ -23,5 +23,6 @@ buildDunePackage {
|
|||||||
homepage = "https://github.com/reasonml/reason-react";
|
homepage = "https://github.com/reasonml/reason-react";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = [ lib.maintainers.vog ];
|
maintainers = [ lib.maintainers.vog ];
|
||||||
|
broken = lib.versionAtLeast ppxlib.version "0.36";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
lib,
|
||||||
buildDunePackage,
|
buildDunePackage,
|
||||||
|
fetchpatch,
|
||||||
ppx_deriving,
|
ppx_deriving,
|
||||||
ppxlib,
|
ppxlib,
|
||||||
repr,
|
repr,
|
||||||
@@ -12,6 +14,11 @@ buildDunePackage {
|
|||||||
|
|
||||||
inherit (repr) src version;
|
inherit (repr) src version;
|
||||||
|
|
||||||
|
patches = lib.optional (lib.versionAtLeast ppxlib.version "0.36") (fetchpatch {
|
||||||
|
url = "https://github.com/mirage/repr/commit/9dcaeaa7e5f45998f76e1eab68f8fd18edc980cc.patch";
|
||||||
|
hash = "sha256-MKuZ4f8m/nNlgZpomGgqr80s5btynKcb1b4khpIIOY4=";
|
||||||
|
});
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
ppx_deriving
|
ppx_deriving
|
||||||
ppxlib
|
ppxlib
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
cppo,
|
cppo,
|
||||||
dune-build-info,
|
dune-build-info,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
|
fetchpatch,
|
||||||
jq,
|
jq,
|
||||||
lib,
|
lib,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
@@ -54,6 +55,14 @@ buildDunePackage {
|
|||||||
url = "https://github.com/melange-re/${pname}/releases/download/${version}/${pname}-${version}.tbz";
|
url = "https://github.com/melange-re/${pname}/releases/download/${version}/${pname}-${version}.tbz";
|
||||||
inherit hash;
|
inherit hash;
|
||||||
};
|
};
|
||||||
|
patches = lib.optional (lib.versionAtLeast ppxlib.version "0.36") (fetchpatch {
|
||||||
|
url = "https://patch-diff.githubusercontent.com/raw/melange-re/melange/pull/1352.patch";
|
||||||
|
hash = "sha256-PMf66nB743nzW4/xblHjNZFv1BS8xC9maD+eCDDUWAY=";
|
||||||
|
excludes = [
|
||||||
|
"*.opam"
|
||||||
|
"*.template"
|
||||||
|
];
|
||||||
|
});
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cppo
|
cppo
|
||||||
makeWrapper
|
makeWrapper
|
||||||
|
|||||||
@@ -7104,7 +7104,13 @@ with pkgs;
|
|||||||
haskellPackages.callPackage ../tools/misc/fffuu { }
|
haskellPackages.callPackage ../tools/misc/fffuu { }
|
||||||
);
|
);
|
||||||
|
|
||||||
flow = callPackage ../development/tools/analysis/flow { };
|
flow = callPackage ../development/tools/analysis/flow {
|
||||||
|
ocamlPackages = ocaml-ng.ocamlPackages.overrideScope (
|
||||||
|
self: super: {
|
||||||
|
ppxlib = super.ppxlib.override { version = "0.33.0"; };
|
||||||
|
}
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
fswatch = callPackage ../development/tools/misc/fswatch { };
|
fswatch = callPackage ../development/tools/misc/fswatch { };
|
||||||
|
|
||||||
|
|||||||
@@ -536,15 +536,17 @@ let
|
|||||||
|
|
||||||
elpi = callPackage ../development/ocaml-modules/elpi (
|
elpi = callPackage ../development/ocaml-modules/elpi (
|
||||||
let
|
let
|
||||||
ppxlib_0_15 =
|
ppx_deriving_ =
|
||||||
if lib.versionAtLeast ppxlib.version "0.15" then
|
cap:
|
||||||
ppxlib.override { version = "0.15.0"; }
|
ppx_deriving.override {
|
||||||
else
|
ppxlib = ppxlib.override {
|
||||||
ppxlib;
|
version = if lib.versionAtLeast ppxlib.version cap then cap else ppxlib.version;
|
||||||
|
};
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
ppx_deriving_0_15 = ppx_deriving.override { ppxlib = ppxlib_0_15; };
|
ppx_deriving_0_15 = ppx_deriving_ "0.15";
|
||||||
inherit ppxlib_0_15;
|
ppx_deriving = ppx_deriving_ "0.33.0";
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -1695,7 +1697,9 @@ let
|
|||||||
|
|
||||||
ppx_deriving_rpc = callPackage ../development/ocaml-modules/ppx_deriving_rpc { };
|
ppx_deriving_rpc = callPackage ../development/ocaml-modules/ppx_deriving_rpc { };
|
||||||
|
|
||||||
ppx_deriving_yaml = callPackage ../development/ocaml-modules/ppx_deriving_yaml { };
|
ppx_deriving_yaml = callPackage ../development/ocaml-modules/ppx_deriving_yaml {
|
||||||
|
mdx = mdx.override { inherit logs; };
|
||||||
|
};
|
||||||
|
|
||||||
ppx_deriving_yojson = callPackage ../development/ocaml-modules/ppx_deriving_yojson { };
|
ppx_deriving_yojson = callPackage ../development/ocaml-modules/ppx_deriving_yojson { };
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user