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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
351 B
Nix
Raw Normal View History

2018-12-16 11:46:31 +01: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 18:12:43 +01:00
inherit (csv) src version useDune2 meta;
2018-12-16 11:46:31 +01:00
propagatedBuildInputs = [ csv ocaml_lwt ];
doCheck = lib.versionAtLeast ocaml.version "4.03";
}