1{
2 lib,
3 buildDunePackage,
4 ocaml,
5 landmarks,
6 ppxlib,
7}:
8
9buildDunePackage {
10 pname = "landmarks-ppx";
11 minimalOCamlVersion = "4.08";
12
13 inherit (landmarks) src version;
14
15 buildInputs = [ ppxlib ];
16 propagatedBuildInputs = [ landmarks ];
17
18 doCheck = lib.versionAtLeast ocaml.version "4.08" && lib.versionOlder ocaml.version "5.0";
19
20 meta = landmarks.meta // {
21 description = "Preprocessor instrumenting code using the landmarks library";
22 longDescription = ''
23 Automatically or semi-automatically instrument your code using
24 landmarks library.
25 '';
26 broken = lib.versionAtLeast ppxlib.version "0.36";
27 };
28}