aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/cstruct/lwt.nix
blob: f340bfcda25e5e96d6a93c3ffb9f2f07196befac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ lib, buildDunePackage, cstruct, lwt }:

if !lib.versionAtLeast (cstruct.version or "1") "3"
then cstruct
else

buildDunePackage {
	pname = "cstruct-lwt";
	inherit (cstruct) version src useDune2 meta;

  minimumOCamlVersion = "4.02";

	propagatedBuildInputs = [ cstruct lwt ];
}