nixpkgs/pkgs/development/ocaml-modules/opium/default.nix

32 lines
462 B
Nix

{ buildDunePackage
, ppx_sexp_conv
, ppx_fields_conv
, cmdliner
, cohttp-lwt-unix
, logs
, magic-mime
, opium_kernel
, stringext
, alcotest
}:
buildDunePackage {
pname = "opium";
inherit (opium_kernel) version src meta minimumOCamlVersion;
useDune2 = true;
doCheck = true;
buildInputs = [
ppx_sexp_conv ppx_fields_conv
alcotest
];
propagatedBuildInputs = [
opium_kernel cmdliner cohttp-lwt-unix magic-mime logs stringext
];
}