about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/landmarks-ppx/default.nix
blob: c55836a9b75e52c6882132c249cdc7dc0a6ad5a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ lib, fetchFromGitHub, buildDunePackage, ocaml, landmarks, ppxlib }:

buildDunePackage {
  pname = "landmarks-ppx";
  minimalOCamlVersion = "4.08";

  inherit (landmarks) src version;

  buildInputs = [ ppxlib ];
  propagatedBuildInputs = [ landmarks ];

  doCheck = lib.versionAtLeast ocaml.version "4.08"
    && lib.versionOlder ocaml.version "5.0";

  meta = landmarks.meta // {
    description = "Preprocessor instrumenting code using the landmarks library";
  };
}