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

13 lines
333 B
Nix
Raw Normal View History

2017-11-27 19:08:40 +00:00
{ 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";
}