9 , version ? if lib.versionAtLeast ocaml.version "4.11" then "1.10.0" else "1.9.1"
14 sha256 = "sha256-0bSY4u44Ds84XPIbcT5Vt4AG/4PkzFKMl9CDGFZyIdI=";
17 sha256 = "sha256-MA8sf0F7Ch1wJDL8E8470ukKx7KieWyjWJnJQsqBVW8=";
21 lib.throwIfNot (lib.versionAtLeast ppxlib.version "0.24.0")
22 "ppx_import is not available with ppxlib-${ppxlib.version}"
24 buildDunePackage rec {
28 minimalOCamlVersion = "4.05";
32 url = "https://github.com/ocaml-ppx/ppx_import/releases/download/${version}/ppx_import-${version}.tbz";
33 inherit (param) sha256;
36 propagatedBuildInputs = [
49 description = "A syntax extension for importing declarations from interface files";
50 license = lib.licenses.mit;
51 homepage = "https://github.com/ocaml-ppx/ppx_import";