mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
16 lines
445 B
Nix
16 lines
445 B
Nix
{ stdenv, ocaml, findlib, jbuilder, 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;
|
|
|
|
buildInputs = [ ocaml findlib jbuilder sqlexpr ounit ppx_core ppx_tools_versioned re lwt_ppx ];
|
|
|
|
buildPhase = "dune build -p ppx_sqlexpr";
|
|
|
|
doCheck = true;
|
|
checkPhase = "dune runtest -p ppx_sqlexpr";
|
|
}
|