mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
33 lines
462 B
Nix
33 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
|
|
];
|
|
}
|