|
| 1 | +opam-version: "2.0" |
| 2 | + |
| 3 | +authors: [ "David Scott" "Rolf Neugebauer" "Anil Madhavapeddy" "Simon Ferquel"] |
| 4 | +license: "ISC" |
| 5 | +homepage: "https://github.com/mirage/ocaml-hvsock" |
| 6 | +dev-repo: "git+https://github.com/mirage/ocaml-hvsock.git" |
| 7 | +bug-reports: "https://github.com/mirage/ocaml-hvsock/issues" |
| 8 | +doc: "https://mirage.github.io/ocaml-hvsock" |
| 9 | + |
| 10 | +build: [ |
| 11 | + [ "dune" "subst" ] {dev} |
| 12 | + [ "dune" "build" "-p" name "-j" jobs ] |
| 13 | +] |
| 14 | + |
| 15 | +depends: [ |
| 16 | + "ocaml" {>= "4.03.0"} |
| 17 | + "base-bytes" |
| 18 | + "base-threads" |
| 19 | + "base-unix" |
| 20 | + "lwt" {>= "3.2.0"} |
| 21 | + "logs" |
| 22 | + "fmt" |
| 23 | + "cmdliner" {>= "1.1"} |
| 24 | + "sha" |
| 25 | + "uri" |
| 26 | + "base64" {>= "3.0.0"} |
| 27 | + "uuidm" |
| 28 | + "uutf" |
| 29 | + "mirage-flow" {>= "5.0.0"} |
| 30 | + "cstruct" {>= "6.0.0"} |
| 31 | + "duration" |
| 32 | + "dune" {>= "1.2.0"} |
| 33 | + "alcotest" {with-test & >= "0.4.0"} |
| 34 | +] |
| 35 | +depexts: [ |
| 36 | + ["linux-headers"] {os-distribution = "alpine"} |
| 37 | + ["linux-libc-dev"] {os-family = "debian"} |
| 38 | + ["kernel-headers"] {os-distribution = "fedora"} |
| 39 | + ["kernel-headers"] {os-distribution = "rhel"} |
| 40 | +] |
| 41 | +synopsis: "Bindings for Hyper-V AF_VSOCK" |
| 42 | +description: """ |
| 43 | +[](https://travis-ci.org/mirage/ocaml-hvsock) |
| 44 | +[](https://ci.appveyor.com/project/mirage/ocaml-hvsock/branch/master) |
| 45 | + |
| 46 | +These bindings allow Host <-> VM communication on Hyper-V systems on both Linux |
| 47 | +and Windows. |
| 48 | + |
| 49 | +*Warning*: the `AF_HYPERV` patches for Linux are not yet merged and hence the |
| 50 | +definition of `AF_HYPERV` is not yet stable. If other address families are merged |
| 51 | +before this one then the value of `AF_HYPERV` will change! |
| 52 | + |
| 53 | +Please read [the API documentation](https://djs55.github.io/ocaml-hvsock/index.html).""" |
| 54 | +url { |
| 55 | + src: |
| 56 | + "https://github.com/mirage/ocaml-hvsock/releases/download/3.1.0/hvsock-3.1.0.tbz" |
| 57 | + checksum: [ |
| 58 | + "sha256=c3dc439a50b2b83dc584b20726a1311ca52187792613e9cf441c39da51ef7407" |
| 59 | + "sha512=cd631f190c63dabd8151e51715d048c828aa9a8207661a6b06c5b7754de030ebec81f06d6c545afc3b7fc2637466ebe4ac5f205e4cbad672591f79f9c5366242" |
| 60 | + ] |
| 61 | +} |
| 62 | +x-commit-hash: "9236656298b4044a636e1baf6b11d021a2ece634" |
0 commit comments