ocamlPackages.csv-lwt: init at 2.2

wip/yesman
Vincent Laporte 6 years ago committed by Vincent Laporte
parent 60739e534d
commit daaba731a7
  1. 14
      pkgs/development/ocaml-modules/csv/lwt.nix
  2. 2
      pkgs/top-level/ocaml-packages.nix

@ -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";
}

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

Loading…
Cancel
Save