3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/sqlexpr/ppx.nix

18 lines
378 B
Nix
Raw Normal View History

{ buildDunePackage, sqlexpr, ounit
, ppxlib, ppx_tools_versioned, re, lwt_ppx
}:
buildDunePackage {
pname = "ppx_sqlexpr";
inherit (sqlexpr) version src meta;
minimumOCamlVersion = "4.06";
postPatch = ''
substituteInPlace src/ppx/jbuild --replace ppx_core ppxlib
'';
buildInputs = [ sqlexpr ounit ppxlib ppx_tools_versioned re lwt_ppx ];
doCheck = true;
}