blob: 78600b7830687f7b7c2770d4e023433a8d34fb4b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{ lib, buildDunePackage, cstruct, ppx_tools_versioned }:
if !lib.versionAtLeast (cstruct.version or "1") "3"
then cstruct
else
buildDunePackage {
pname = "ppx_cstruct";
inherit (cstruct) version src meta;
minimumOCamlVersion = "4.02";
buildInputs = [ ppx_tools_versioned ];
propagatedBuildInputs = [ cstruct ];
}
|