about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/csv/lwt.nix
blob: 2fa9296d7e4455f4c101937b95094c64e1139e07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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";
}