opam-version: "2.0"
maintainer: "dave.scott@citrix.com"
build: make
remove: [
  [make "uninstall" "BINDIR=%{bin}%" "MANDIR=%{man}%/man1"]
]
depends: [
  "ocaml"
  "ocamlfind" {build}
  "cmdliner"
  "lwt"
  "xen-api-client" {>= "0.9.4" & < "0.9.9"}
  "cstruct" {>= "1.3.0" & < "2.0.0"}
  "mbr-format" {>= "0.3"}
  "fat-filesystem"
  "io-page"
  "mirage-types" {> "2.1.0" & < "2.3.0"}
  "ocamlbuild" {build}
]
dev-repo: "git://github.com/djs55/xe-unikernel-upload"
install: [make "install" "BINDIR=%{bin}%" "MANDIR=%{man}%/man1"]
synopsis: "A simple tool to upload a Unikernel to a XenServer pool."
description: """
Simple usage:
```
xe-unikernel-upload --username=root --password=password \\
   --uri=https://my.xenserver/ --path=my-unikernel
```"""
url {
  src: "https://github.com/djs55/xe-unikernel-upload/archive/v0.4.tar.gz"
  checksum: "md5=0c0fcd954e3f571e491579d5cf45d687"
}
