summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/cstruct/lwt.nix
blob: 065716e68529f6c28616b50920afb4afb7080c41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{ stdenv, ocaml, cstruct, lwt }:

assert stdenv.lib.versionAtLeast ocaml.version "4.02";

stdenv.mkDerivation rec {
	name = "ocaml${ocaml.version}-cstruct-lwt-${version}";
	inherit (cstruct) version src unpackCmd buildInputs installPhase meta;

	propagatedBuildInputs = [ cstruct lwt ];

	buildPhase = "${cstruct.buildPhase}-lwt";
}