nixpkgs/pkgs/development/ocaml-modules/cstruct/unix.nix

15 lines
271 B
Nix
Raw Normal View History

{ lib, buildDunePackage, cstruct }:
if !lib.versionAtLeast (cstruct.version or "1") "3"
then cstruct
else
2017-11-27 19:08:40 +00:00
buildDunePackage {
pname = "cstruct-unix";
2020-11-19 06:36:41 +00:00
inherit (cstruct) version src useDune2 meta;
2017-11-27 19:08:40 +00:00
minimumOCamlVersion = "4.06";
2017-11-27 19:08:40 +00:00
propagatedBuildInputs = [ cstruct ];
}