/
opam
40 lines (40 loc) · 1.19 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
opam-version: "2.0"
maintainer: "dave@recoil.org"
authors: ["David Scott" "Rolf Neugebauer"]
license: "ISC"
homepage: "https://github.com/djs55/ocaml-hvsock"
dev-repo: "git+https://github.com/djs55/ocaml-hvsock.git"
bug-reports: "https://github.com/djs55/ocaml-hvsock/issues"
build: [
["ocaml" "setup.ml" "-configure"]
[make]
["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test}
[make "test"] {with-test}
]
install: [make "install"]
remove: ["ocamlfind" "remove" "hvsock"]
depends: [
"ocaml" {>= "4.01.0" & < "4.06.0"}
"base-bytes"
"base-threads"
"lwt" {>= "2.4.7" & < "4.0.0"}
"logs"
"fmt"
"base-unix"
"cmdliner"
"mirage-types-lwt" {< "3.0.0"}
"cstruct"
"ocamlfind" {build}
"ocamlbuild" {build}
"alcotest" {with-test & >= "0.4.0"}
]
synopsis: "Bindings to Hyper-V AF_HVSOCK"
description: """
AF_HVSOCK sockets allow host <-> VM communication on Hyper-V hosts. A typical
use is to run some kind of agent in a VM, and connect to it from software
running on the host. AF_HVSOCK is similar to AF_VSOCK as used by virtio-vsock."""
flags: light-uninstall
url {
src: "https://github.com/djs55/ocaml-hvsock/archive/v0.5.tar.gz"
checksum: "md5=234ac9563aa79d3f8074964c1d91a5a4"
}