opam-version: "2.0"
maintainer: "Anil Madhavapeddy <anil@recoil.org>"
authors: "Anil Madhavapeddy <anil@recoil.org>"
homepage: "https://github.com/mirage/mirage-net-macosx"
bug-reports: "https://github.com/mirage/mirage-net-macosx/issues"
dev-repo: "git+https://github.com/mirage/mirage-net-macosx.git"
license: "ISC"
build: [
  ["./configure" "--prefix=%{prefix}%"]
  [make]
]
install: [make "install"]
remove: ["ocamlfind" "remove" "mirage-net-macosx"]
depends: [
  "ocaml"
  "ocamlfind" {build}
  "cstruct" {>= "1.4.0"}
  "sexplib" {< "v0.15"}
  "ocamlfind"
  "lwt" {>= "2.4.3"}
  "mirage-types-lwt" {< "3.0.0"}
  "io-page" {>= "1.2.0" & < "1.4.0"}
  "vmnet"
  "ocamlbuild" {build}
]
synopsis: "MacOS X implementation of the MirageOS NETWORK interface"
description: """
This interface exposes raw Ethernet frames using the
[Vmnet](https://github.com/mirage/ocaml-vmnet) framework that
is available on MacOS X Yosemite onwards.  It is suitable for
use with an OCaml network stack such as the one found at
<https://github.com/mirage/mirage-tcpip>.

For a complete system that uses this, please see the
[MirageOS](http://openmirage.org) homepage.

- WWW: <https://github.com/mirage/mirage-net-macosx>
- Issues: <https://github.com/mirage/mirage-net-macosx/issues>
- Email: <mirageos-devel@lists.xenproject.org>"""
flags: light-uninstall
url {
  src: "https://github.com/mirage/mirage-net-macosx/archive/v1.0.0.tar.gz"
  checksum: "md5=acbb49d060c5d788ff049e6501553d3e"
}
