1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/csv/lwt.nix
2021-01-04 09:03:01 +01:00

15 lines
351 B
Nix

{ 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 useDune2 meta;
propagatedBuildInputs = [ csv ocaml_lwt ];
doCheck = lib.versionAtLeast ocaml.version "4.03";
}