2020-04-24 23:36:52 +00:00
|
|
|
{ buildDunePackage
|
|
|
|
|
|
|
|
, ppx_sexp_conv
|
|
|
|
, ppx_fields_conv
|
|
|
|
|
|
|
|
, cmdliner
|
|
|
|
, cohttp-lwt-unix
|
|
|
|
, logs
|
|
|
|
, magic-mime
|
|
|
|
, opium_kernel
|
|
|
|
, stringext
|
|
|
|
|
|
|
|
, alcotest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
2021-02-05 17:12:51 +00:00
|
|
|
pname = "opium";
|
|
|
|
inherit (opium_kernel) version src meta minimumOCamlVersion;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
buildInputs = [
|
2020-04-24 23:36:52 +00:00
|
|
|
ppx_sexp_conv ppx_fields_conv
|
|
|
|
alcotest
|
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
propagatedBuildInputs = [
|
2020-04-24 23:36:52 +00:00
|
|
|
opium_kernel cmdliner cohttp-lwt-unix magic-mime logs stringext
|
|
|
|
];
|
|
|
|
}
|