cosmic-term: 1.0.0-alpha.3 -> 1.0.0-alpha.5.1 (#374031)
[NixPkgs.git] / pkgs / development / ocaml-modules / poll / default.nix
blob0f0e616da1bafb85608aec5f6e98424757816cf7
2   buildDunePackage,
3   dune-configurator,
4   fetchurl,
5   kqueue,
6   lib,
7   ppx_expect,
8   ppx_optcomp,
9 }:
11 buildDunePackage rec {
12   pname = "poll";
13   version = "0.3.1";
15   minimalOCamlVersion = "4.13";
17   src = fetchurl {
18     url = "https://github.com/anuragsoni/poll/releases/download/${version}/poll-${version}.tbz";
19     hash = "sha256-IX6SivK/IMQaGgMgWiIsNgUSMHP6z1E/TSB0miaQ8pw=";
20   };
22   buildInputs = [
23     dune-configurator
24     ppx_optcomp
25   ];
27   propagatedBuildInputs = [
28     kqueue
29   ];
31   checkInputs = [
32     ppx_expect
33   ];
35   doCheck = true;
37   meta = {
38     description = "Portable OCaml interface to macOS/Linux/Windows native IO event notification mechanisms";
39     homepage = "https://github.com/anuragsoni/poll";
40     changelog = "https://github.com/anuragsoni/poll/blob/${version}/CHANGES.md";
41     license = lib.licenses.mit;
42     maintainers = with lib.maintainers; [ sixstring982 ];
43   };