-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
61 lines (56 loc) · 2.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
opam-version: "2.0"
maintainer: "David Kaloper Meršinjak <david@numm.org>"
authors: ["David Kaloper Meršinjak <david@numm.org>"]
homepage: "https://github.com/pqwy/mirage-os-shim"
doc: "https://pqwy.github.io/mirage-os-shim/doc"
license: "ISC"
dev-repo: "git+https://github.com/pqwy/mirage-os-shim.git"
bug-reports: "https://github.com/pqwy/mirage-os-shim/issues"
build: [
"ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false"
"--with-mirage-unix" "%{mirage-unix:installed}%"
"--with-mirage-xen" "%{mirage-xen:installed}%"
"--with-mirage-solo5" "%{mirage-solo5:installed}%"
]
depends: [
"ocaml" {>= "4.01.0" & < "4.06.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"topkg" {build}
"lwt"
]
depopts: [
"mirage-solo5"
"mirage-xen"
"mirage-unix"
]
conflicts: [
"mirage-unix" {< "3.0.0"}
"mirage-unix" {>= "3.1.0"}
"mirage-xen" {< "3.0.0" | >= "6.0.0"}
"mirage-xen" {>= "3.1.0"}
"mirage-solo5" {< "0.2.0"}
"mirage-solo5" {>= "0.5.0"}
]
synopsis: "Portable shim for MirageOS APIs"
description: """
mirage-os-shim is the intersection of the Mirage OS APIs exported under the `OS`
modules by various Mirage backends. It shims out this interface under the same
`cmi`, and installs several implementations, that pass through to their
respective backends.
Clients need to be compiled against the common `mirage_OS.cmi`, and use the
module `Mirage_OS`. Final applications need to be linked using `ocamlfind`, and
have to define one of the `ocamlfind` predicates corresponding to the actual
`OS` implementations: `mirage_unix`, `mirage_xen`, or `mirage_solo5`.
When using `ocamlbuild`, this is
`ocamlfind -use-ocamlfind -tag 'predicate(unix)'` or similar.
**WARNING** Direct access to the `OS` interface is largely deprecated. The
interface is pretty volatile. It is highly likely that you, in fact, do not need
this package at all.
mirage-os-shim is distributed under the ISC license.
[![Build Status](https://travis-ci.org/pqwy/mirage-os-shim.svg?branch=master)](https://travis-ci.org/pqwy/mirage-os-shim)"""
url {
src:
"https://github.com/pqwy/mirage-os-shim/releases/download/v3.0.0/mirage-os-shim-3.0.0.tbz"
checksum: "md5=acc88034edc5685e34424d3174ffb3ca"
}