about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/eio/main.nix
blob: a65b27b8db411cd40a58b5b55068a824981c5832 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib
, stdenv
, buildDunePackage
, eio
, eio_posix
, eio_linux
}:

buildDunePackage {
  pname = "eio_main";
  inherit (eio) meta src patches version;

  minimalOCamlVersion = "5.0";

  dontStrip = true;

  propagatedBuildInputs = [
    eio_posix
  ] ++ lib.optionals stdenv.isLinux [
    eio_linux
  ];
}