nixpkgs/pkgs/development/ocaml-modules/cstruct/lwt.nix

15 lines
283 B
Nix
Raw Normal View History

{ lib, buildDunePackage, cstruct, lwt }:
if !lib.versionAtLeast (cstruct.version or "1") "3"
then cstruct
else
2017-11-27 19:08:40 +00:00
buildDunePackage {
pname = "cstruct-lwt";
inherit (cstruct) version src useDune2 meta;
2017-11-27 19:08:40 +00:00
2020-10-25 18:54:25 +00:00
minimumOCamlVersion = "4.03";
2017-11-27 19:08:40 +00:00
propagatedBuildInputs = [ cstruct lwt ];
2017-11-27 19:08:40 +00:00
}