3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/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
348 B
Nix
Raw Normal View History

2018-12-16 10:46:31 +00:00
{ lib, buildDunePackage, ocaml, csv, ocaml_lwt }:
if lib.versionOlder ocaml.version "4.02"
2018-12-16 10:46:31 +00:00
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";
}