summary refs log blame commit diff
path: root/pkgs/development/ocaml-modules/cstruct/lwt.nix
blob: df8941d1260d6ae3cb1b4e5a8d6d8152be80fec6 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                   
 
                  

                                              
 
                               
 
                                          
 
{ 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.03";

  propagatedBuildInputs = [ cstruct lwt ];
}