about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/repr/ppx.nix
blob: eb96298f16ae1b4674129d4e86e19c05e9a13f6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildDunePackage, ppx_deriving, ppxlib, repr, alcotest, hex }:

buildDunePackage {
  pname = "ppx_repr";

  inherit (repr) src version strictDeps;

  propagatedBuildInputs = [
    ppx_deriving
    ppxlib
    repr
  ];

  doCheck = false; # tests fail with ppxlib >= 0.23.0
  nativeCheckInputs = [
    alcotest
    hex
  ];

  meta = repr.meta // {
    description = "PPX deriver for type representations";
  };
}