-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
43 lines (43 loc) · 1.28 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
41
42
43
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.4.tar.gz"
checksum: [
"sha256=151dffd3e1f7f7c1ac5adbaf24dd89a61291813cef854cd805a3ac9a35f0e907"
"md5=d81a19266e6b313b5b9dbb8c569f0f27"
]
}