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/"
license: "ISC"
dev-repo: "git+https://github.com/mirage/mirage-bootvar-xen.git"
build: [make]
install: [make "install"]
remove: ["ocamlfind" "remove" "mirage-bootvar"]
depends: [
  "ocaml"
  "mirage-xen" {>= "2.2.0" & < "4.0.0"}
  "mirage-types" {< "3.0.0"}
  "ipaddr"
  "re"
]
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/0.3.1.tar.gz"
  checksum: "md5=d21a6a8b022523a76935e4393d75edbd"
}
