aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/cstruct/lwt.nix
blob: 5a10d7cae48d456c286fa3322a3c954e27986dc1 (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 meta;

  minimumOCamlVersion = "4.02";

	propagatedBuildInputs = [ cstruct lwt ];
}