2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildDunePackage, ocaml, csv, ocaml_lwt }:
|
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
if lib.versionOlder ocaml.version "4.02"
|
2020-04-24 23:36:52 +00:00
|
|
|
then throw "csv-lwt is not available for OCaml ${ocaml.version}"
|
|
|
|
else
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "csv-lwt";
|
2021-01-05 17:05:55 +00:00
|
|
|
inherit (csv) src version useDune2 meta;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ csv ocaml_lwt ];
|
|
|
|
|
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.03";
|
|
|
|
}
|