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

13 lines
326 B
Nix
Raw Normal View History

2017-11-27 20:08:40 +01:00
{ stdenv, ocaml, cstruct }:
assert stdenv.lib.versionAtLeast ocaml.version "4.02";
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-cstruct-unix-${version}";
inherit (cstruct) version src unpackCmd buildInputs installPhase meta;
propagatedBuildInputs = [ cstruct ];
buildPhase = "${cstruct.buildPhase}-unix";
}