biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / ocaml-modules / poll / default.nix
blobea1e2e1c13d79906b0a736755efc014015f7692c
1 { buildDunePackage
2 , dune-configurator
3 , fetchurl
4 , kqueue
5 , lib
6 , ppx_expect
7 , ppx_optcomp
8 }:
10 buildDunePackage rec {
11   pname = "poll";
12   version = "0.3.1";
14   minimalOCamlVersion = "4.13";
16   src = fetchurl {
17     url = "https://github.com/anuragsoni/poll/releases/download/${version}/poll-${version}.tbz";
18     hash = "sha256-IX6SivK/IMQaGgMgWiIsNgUSMHP6z1E/TSB0miaQ8pw=";
19   };
21   buildInputs = [
22     dune-configurator
23     ppx_optcomp
24   ];
26   propagatedBuildInputs = [
27     kqueue
28   ];
30   checkInputs = [
31     ppx_expect
32   ];
34   doCheck = true;
36   meta = {
37     description = "Portable OCaml interface to macOS/Linux/Windows native IO event notification mechanisms";
38     homepage = "https://github.com/anuragsoni/poll";
39     changelog = "https://github.com/anuragsoni/poll/blob/${version}/CHANGES.md";
40     license = lib.licenses.mit;
41     maintainers = with lib.maintainers; [ sixstring982 ];
42   };