Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 cstruct, 5 lwt, 6}: 7 8if lib.versionOlder (cstruct.version or "1") "3" then 9 cstruct 10else 11 12 buildDunePackage { 13 pname = "cstruct-lwt"; 14 inherit (cstruct) version src meta; 15 16 minimalOCamlVersion = "4.08"; 17 duneVersion = "3"; 18 19 propagatedBuildInputs = [ 20 cstruct 21 lwt 22 ]; 23 }