-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
42 lines (40 loc) · 1.09 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
opam-version: "2.0"
maintainer: "thomas@gazagnaire.org"
authors: "Thomas Gazagnaire"
license: "ISC"
tags: "org:mirage"
homepage: "https://github.com/mirage/mirage-flow-rawlink"
doc: "https://mirage.github.io/mirage-flow-rawlink/"
bug-reports: "https://github.com/mirage/mirage-flow-rawlink/issues"
depends: [
"ocaml" {>= "4.02.0"}
"dune" {>= "1.0"}
"mirage-flow-lwt" {>= "1.2.0"}
"rawlink" {>= "0.5"}
"cstruct"
"lwt"
]
build: [
[ "dune" "subst" ] {dev}
[ "dune" "build" "-p" name "-j" jobs ]
]
dev-repo: "git+https://github.com/mirage/mirage-flow-rawlink.git"
synopsis: "Expose rawlink interfaces as MirageOS flows"
description: """
Allow the use of rawlink interfaces as MirageOS flows.
An example:
```
Lwt_rawlink.open_link "eth0" >>= fun rawlink ->
Mirage_flow_lwt.read rawlink >>= function
| Ok (`Data buf) ->
...
```
"""
url {
src:
"https://github.com/mirage/mirage-flow-rawlink/releases/download/v1.1.0/mirage-flow-rawlink-v1.1.0.tbz"
checksum: [
"sha256=6393bf1fdb03ae67ffe287a00e45bf99334d2bfdd48d78a2faa6655d902e5f36"
"md5=eb549ad9c899feaa391d51ee815068af"
]
}