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

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

16 lines
306 B
Nix
Raw Normal View History

{ lib, buildDunePackage, cstruct, lwt }:
if lib.versionOlder (cstruct.version or "1") "3"
then cstruct
else
2017-11-27 19:08:40 +00:00
buildDunePackage {
pname = "cstruct-lwt";
inherit (cstruct) version src meta;
2017-11-27 19:08:40 +00:00
minimalOCamlVersion = "4.08";
2023-03-28 06:58:02 +00:00
duneVersion = "3";
2017-11-27 19:08:40 +00:00
propagatedBuildInputs = [ cstruct lwt ];
}