mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
33 lines
459 B
Nix
33 lines
459 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
buildDunePackage,
|
|
dune-configurator,
|
|
eio,
|
|
eio_posix,
|
|
eio_linux,
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "eio_main";
|
|
inherit (eio)
|
|
meta
|
|
src
|
|
patches
|
|
version
|
|
;
|
|
|
|
minimalOCamlVersion = "5.0";
|
|
|
|
dontStrip = true;
|
|
|
|
buildInputs = lib.optional (lib.versionAtLeast eio.version "1.4") dune-configurator;
|
|
|
|
propagatedBuildInputs = [
|
|
eio_posix
|
|
]
|
|
++ lib.optionals stdenv.hostPlatform.isLinux [
|
|
eio_linux
|
|
];
|
|
}
|