forked from mirrors/nixpkgs
ocamlPackages.csv-lwt: init at 2.2
This commit is contained in:
parent
60739e534d
commit
daaba731a7
14
pkgs/development/ocaml-modules/csv/lwt.nix
Normal file
14
pkgs/development/ocaml-modules/csv/lwt.nix
Normal 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";
|
||||
}
|
|
@ -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…
Reference in a new issue