53 lines
No EOL
1.7 KiB
Text
53 lines
No EOL
1.7 KiB
Text
# Generated by mirage.v4.2.0
|
|
|
|
opam-version: "2.0"
|
|
maintainer: "dummy"
|
|
authors: "dummy"
|
|
homepage: "dummy"
|
|
bug-reports: "dummy"
|
|
dev-repo: "git://dummy"
|
|
synopsis: "Unikernel hello-key - switch dependencies"
|
|
description: """
|
|
It assumes that local dependencies are already
|
|
fetched.
|
|
"""
|
|
|
|
build: ["sh" "-exc" "cd tutorial/hello-key/ && mirage build"]
|
|
|
|
install: [
|
|
[ "cp" "tutorial/hello-key/dist/hello-key.hvt" "%{bin}%/hello-key.hvt" ]
|
|
[ "strip" "%{bin}%/hello-key.hvt" ]
|
|
[ "cp" "tutorial/hello-key/dist/hello-key.hvt" "%{prefix}%/hello-key.hvt.debug" ]
|
|
]
|
|
|
|
depends: [
|
|
"duration" { ?monorepo }
|
|
"lwt" { ?monorepo }
|
|
"mirage" { build & >= "4.2.0" & < "4.3.0" }
|
|
"mirage-bootvar-solo5" { ?monorepo & >= "0.6.0" & < "0.7.0" }
|
|
"mirage-clock-solo5" { ?monorepo & >= "4.2.0" & < "5.0.0" }
|
|
"mirage-logs" { ?monorepo & >= "1.2.0" & < "2.0.0" }
|
|
"mirage-runtime" { ?monorepo & >= "4.2.0" & < "4.3.0" }
|
|
"mirage-solo5" { ?monorepo & >= "0.9.0" & < "0.10.0" }
|
|
"mirage-time" { ?monorepo }
|
|
"ocaml" { build & >= "4.08.0" }
|
|
"ocaml-solo5" { build & >= "0.8.1" & < "0.9.0" }
|
|
"opam-monorepo" { build & >= "0.3.2" }
|
|
]
|
|
|
|
x-mirage-opam-lock-location: "tutorial/hello-key/mirage/hello-key-hvt.opam.locked"
|
|
|
|
x-mirage-configure: ["sh" "-exc" "cd tutorial/hello-key/ && mirage configure -t hvt --context ./mirage/context --no-extra-repo"]
|
|
|
|
x-mirage-pre-build: [make "-Ctutorial/hello-key/" "lock" "pull"]
|
|
|
|
x-mirage-extra-repo: [
|
|
["opam-overlays" "https://github.com/dune-universe/opam-overlays.git"]
|
|
|
|
["mirage-overlays" "https://github.com/dune-universe/mirage-opam-overlays.git"]]
|
|
|
|
x-opam-monorepo-opam-provided: ["mirage"
|
|
"ocaml""ocaml-solo5"
|
|
"opam-monorepo"]
|
|
|
|
url { src: "git+https://github.com/mirage/mirage-skeleton.git" } |