opam-version: "2.0" maintainer: "ygrek@autistici.org" license: "BSD-3-Clause" authors: [ "Maas-Maarten Zeeman " "ygrek " ] homepage: "https://github.com/ygrek/ocaml-libevent" dev-repo: "git+https://github.com/ygrek/ocaml-libevent.git" bug-reports: "https://github.com/ygrek/ocaml-libevent/issues" tags: ["org:ygrek"] build: [ [make "depend"] [make] [make "test"] {with-test & os != "macos"} [make "doc"] {with-doc} ] install: [ [make "install"] ] depends: [ "ocaml" {>= "4.02.0"} "ocamlfind" {build} "base-unix" "base-bytes" {with-test} "ounit" {with-test} "conf-libevent" {build} ] available: !(os = "macos" & os-distribution = "homebrew" & arch = "arm64") conflicts: [ "ocaml-option-bytecode-only" ] synopsis: "OCaml wrapper for the libevent API" description: """ libevent provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. Furthermore, libevent also supports callbacks due to signals or regular timeouts.""" url { src: "https://ygrek.org/p/release/ocaml-libevent/ocaml-libevent-0.9.0.tar.gz" checksum: [ "md5=00851213da0c9ecf37fbd3984a266789" "sha256=e9bcbde7d554f18e52b761601eb4fb8a91df5d160dee03f10882c77a5a83c078" "sha512=4f3510e91b1429fb3ed62e84c65adcd96826a6ea861cda41b630957f950968ab3dfc4788eb748764cb503b2e2aa3318d904adb3a6a10c1e5f11cd3201d264bfd" ] mirrors: "https://github.com/ygrek/ocaml-libevent/releases/download/v0.9.0/ocaml-libevent-0.9.0.tar.gz" }