summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/cstruct/unix.nix
blob: 2a614579fccc1d3d2b086e519252e8612ce84434 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{ 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";
}