Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, ppx_deriving, ppxlib, repr, alcotest, hex }:
2
3buildDunePackage {
4 pname = "ppx_repr";
5
6 inherit (repr) src version strictDeps;
7 duneVersion = "3";
8
9 propagatedBuildInputs = [
10 ppx_deriving
11 ppxlib
12 repr
13 ];
14
15 doCheck = false; # tests fail with ppxlib >= 0.23.0
16 checkInputs = [
17 alcotest
18 hex
19 ];
20
21 meta = repr.meta // {
22 description = "PPX deriver for type representations";
23 };
24}