nixpkgs/pkgs/development/ocaml-modules/csv/lwt.nix

15 lines
351 B
Nix
Raw Normal View History

2018-12-16 10:46:31 +00:00
{ lib, buildDunePackage, ocaml, csv, ocaml_lwt }:
if !lib.versionAtLeast ocaml.version "4.02"
then throw "csv-lwt is not available for OCaml ${ocaml.version}"
else
buildDunePackage {
pname = "csv-lwt";
2020-12-28 17:12:43 +00:00
inherit (csv) src version useDune2 meta;
2018-12-16 10:46:31 +00:00
propagatedBuildInputs = [ csv ocaml_lwt ];
doCheck = lib.versionAtLeast ocaml.version "4.03";
}