blob: 113df1e89b5cfe500680c02a57ad2b877945dc5e (
plain) (
blame)
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 ];
}
|