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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
272 B
Nix
Raw Normal View History

{ lib, buildDunePackage, cstruct }:
if lib.versionOlder (cstruct.version or "1") "3"
then cstruct
else
2017-11-27 20:08:40 +01:00
buildDunePackage {
pname = "cstruct-unix";
inherit (cstruct) version src useDune2 meta;
2017-11-27 20:08:40 +01:00
minimumOCamlVersion = "4.06";
2017-11-27 20:08:40 +01:00
propagatedBuildInputs = [ cstruct ];
2017-11-27 20:08:40 +01:00
}