forked from ocaml/opam-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CHANGES: - Initial public release of ocaml corosync binding - Contains bindings to - libcfg - libcmap - libquorum - libvotequorum - and various helper functions to mimic the corosync tool binaries - Added test cases for - when corosync is running - and when it is not (the default) - Written using ctypes!
- Loading branch information
1 parent
285e79a
commit fcc4511
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
opam-version: "2.0" | ||
synopsis: "OCaml Corosync binding" | ||
description: "An OCaml language binding to libcorosync" | ||
maintainer: ["Shuntian Liu"] | ||
authors: ["Shuntian Liu"] | ||
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" | ||
tags: ["corosync" "binding"] | ||
homepage: "https://github.com/Vincent-lau/ocaml-corosync" | ||
doc: "https://Vincent-lau.github.io/ocaml-corosync/doc" | ||
bug-reports: "https://github.com/Vincent-lau/ocaml-corosync/issues" | ||
depends: [ | ||
"astring" {>= "0.8.5"} | ||
"ocaml" {>= "4.08"} | ||
"dune" {>= "3.16"} | ||
"stdint" | ||
"ctypes" {>= "0.22.0"} | ||
"ctypes-foreign" {>= "0.22.0"} | ||
"ipaddr" | ||
"alcotest" {>= "1.7.0"} | ||
"odoc" {with-doc} | ||
"conf-libcorosync" | ||
] | ||
build: [ | ||
["dune" "subst"] {dev} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/Vincent-lau/ocaml-corosync.git" | ||
url { | ||
src: | ||
"https://github.com/Vincent-lau/ocaml-corosync/releases/download/v0.0.1/corosync-0.0.1.tbz" | ||
checksum: [ | ||
"sha256=c1cf8ae96757c0b9f91b7619dc0f6417782e0734404965667796098c0710fafd" | ||
"sha512=b936be73cf049c5499e6eafef22caa459cf52553d0412f777213c810bae38bc77b55843edf671652115751279da66e834d4d9b7391e1d85aca4975ab4fd9626f" | ||
] | ||
} | ||
x-commit-hash: "56babd87e897b6c86ab7d0ab0614029b04c465d8" |