ocamlPackages.ppx_sqlexpr: init at 0.9.0
This commit is contained in:
parent
5a9645c37f
commit
0c4daae16a
15
pkgs/development/ocaml-modules/sqlexpr/ppx.nix
Normal file
15
pkgs/development/ocaml-modules/sqlexpr/ppx.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ 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";
|
||||
}
|
@ -644,6 +644,8 @@ let
|
||||
|
||||
ppx_import = callPackage ../development/ocaml-modules/ppx_import {};
|
||||
|
||||
ppx_sqlexpr = callPackage ../development/ocaml-modules/sqlexpr/ppx.nix {};
|
||||
|
||||
ppx_tools =
|
||||
if lib.versionAtLeast ocaml.version "4.02"
|
||||
then callPackage ../development/ocaml-modules/ppx_tools {}
|
||||
|
Loading…
Reference in New Issue
Block a user