build-support/vm: don't depend on the "unix" module (#375355)
[NixPkgs.git] / pkgs / development / ocaml-modules / kqueue / default.nix
blob07d4921b704caf78150c65094b3f203f20e45211
2   buildDunePackage,
3   dune-configurator,
4   lib,
5   fetchurl,
6   ppx_expect,
7   ppx_optcomp,
8 }:
10 buildDunePackage rec {
11   pname = "kqueue";
12   version = "0.4.0";
14   minimalOCamlVersion = "4.12";
16   src = fetchurl {
17     url = "https://github.com/anuragsoni/kqueue-ml/releases/download/${version}/kqueue-${version}.tbz";
18     hash = "sha256-fJHhmAp0EFzR9JH93a+EHy1auwSBKZV/XcBQLCedJLc=";
19   };
21   buildInputs = [
22     dune-configurator
23     ppx_optcomp
24   ];
26   checkInputs = [
27     ppx_expect
28   ];
30   doCheck = true;
32   meta = {
33     description = "OCaml bindings for kqueue event notification interface";
34     homepage = "https://github.com/anuragsoni/kqueue-ml";
35     changelog = "https://github.com/anuragsoni/kqueue-ml/blob/${version}/CHANGES.md";
36     license = lib.licenses.bsd3;
37     maintainers = with lib.maintainers; [ sixstring982 ];
38   };