mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
13 lines
333 B
Nix
13 lines
333 B
Nix
{ 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";
|
|
}
|