depot/third_party/nixpkgs/pkgs/development/ocaml-modules/landmarks-ppx/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

18 lines
454 B
Nix

{ lib, 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";
};
}