opam-version: "2.0"
maintainer: "Magnus Skjegstad <magnus@skjegstad.com>"
authors: "Magnus Skjegstad <magnus@skjegstad.com>"
homepage: "https://github.com/mirage/mirage-bootvar-xen"
bug-reports: "https://github.com/mirage/mirage-bootvar-xen/issues/"
dev-repo: "git+https://github.com/mirage/mirage-bootvar-xen.git"
license: "ISC"
build: [
  ["ocaml" "setup.ml" "-configure" "--disable-tests"]
  ["ocaml" "setup.ml" "-build"]
  ["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test}
  ["ocaml" "setup.ml" "-build"] {with-test}
  ["ocaml" "setup.ml" "-test"] {with-test}
]
install: [make "install"]
remove: [
  ["ocamlfind" "remove" "mirage-bootvar"]
]
depends: [
  "ocaml"
  "mirage-xen" {>= "2.2.0" & < "4.0.0"}
  "mirage-types" {< "3.0.0"}
  "ipaddr"
  "astring"
  "ounit"
]
synopsis: "Library for reading MirageOS unikernel boot parameters in Xen"
description: """
This library contains functions for reading parameters passed as boot parameter to a unikernel in Xen. The parameters can be passed as key/value pairs in the `extra=` field in an .xl-file or on the command line when starting a unikernel with the `xl` utility.

Boot parameters are read from the VM's `cmdline` key in Xenstore. If this key does not exist the parameters will be read from `OS.Start_info.cmd_line`."""
flags: light-uninstall
url {
  src: "https://github.com/mirage/mirage-bootvar-xen/archive/v0.3.2.tar.gz"
  checksum: "md5=379fcf0df9377329e82ffcfa2119daa1"
}
