1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/development/ocaml-modules/sqlexpr/ppx.nix

16 lines
437 B
Nix
Raw Normal View History

2018-09-05 17:11:47 +01:00
{ stdenv, ocaml, findlib, dune, sqlexpr, ounit
, ppx_core, ppx_tools_versioned, re, lwt_ppx
}:
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-ppx_sqlexpr-${version}";
inherit (sqlexpr) version src installPhase meta;
2018-09-05 17:11:47 +01:00
buildInputs = [ ocaml findlib dune sqlexpr ounit ppx_core ppx_tools_versioned re lwt_ppx ];
buildPhase = "dune build -p ppx_sqlexpr";
doCheck = true;
checkPhase = "dune runtest -p ppx_sqlexpr";
}