about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ctypes/foreign.nix
blob: 5c9efad790f245134b94d257c96ac0b5c00e80b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ buildDunePackage
, ctypes
, dune-configurator
, libffi
, ounit2
, lwt
}:

buildDunePackage rec {
  pname = "ctypes-foreign";

  inherit (ctypes) version src doCheck;

  buildInputs = [ dune-configurator ];

  propagatedBuildInputs = [ ctypes libffi ];

  checkInputs = [ ounit2 lwt ];

  meta = ctypes.meta // {
    description = "Dynamic access to foreign C libraries using Ctypes";
  };
}