ocamlPackages.csv-lwt: init at 2.2

This commit is contained in:
Vincent Laporte 2018-12-16 10:46:31 +00:00 committed by Vincent Laporte
parent 60739e534d
commit daaba731a7
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,14 @@
{ 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";
inherit (csv) src version meta;
propagatedBuildInputs = [ csv ocaml_lwt ];
doCheck = lib.versionAtLeast ocaml.version "4.03";
}

View File

@ -202,6 +202,8 @@ let
then callPackage ../development/ocaml-modules/csv { } then callPackage ../development/ocaml-modules/csv { }
else callPackage ../development/ocaml-modules/csv/1.5.nix { }; else callPackage ../development/ocaml-modules/csv/1.5.nix { };
csv-lwt = callPackage ../development/ocaml-modules/csv/lwt.nix { };
curses = callPackage ../development/ocaml-modules/curses { }; curses = callPackage ../development/ocaml-modules/curses { };
custom_printf = callPackage ../development/ocaml-modules/custom_printf { }; custom_printf = callPackage ../development/ocaml-modules/custom_printf { };