opam-version: "2.0"
maintainer:   "anil@recoil.org"
authors:      [
  "Anil Madhavapeddy"
  "David Scott"
  "Thomas Gazagnaire"
  "Hannes Mehnert"
]
homepage:    "https://github.com/mirage/mirage-net-fd"
bug-reports: "https://github.com/mirage/mirage-net-fd/issues"
dev-repo: "git+https://github.com/mirage/mirage-net-fd.git"
license:     "ISC"
doc:         "https://mirage.github.io/mirage-net-fd/"

build:   [ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false" ]

# tests block on automated CI, so commented out here
#build-test: [
#  [ "ocaml" "pkg/pkg.ml" "build" "--tests" "true" ]
#  [ "ocaml" "pkg/pkg.ml" "test" ]
#]

depends: [
  "ocaml" {>= "4.02.3"}
  "cstruct" {>= "1.7.1"}
  "cstruct-lwt" {= "0"}
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "topkg" {build}
  "lwt" {>= "2.4.3"}
  "mirage-net-lwt" {>= "1.0.0" & < "2.0.0"}
  "io-page" {>= "1.0.1" & < "2.0.0"}
  "result"
  "ipaddr"
  "alcotest" {with-test & < "0.8.0"}
]
synopsis: "MirageOS network interfaces using raw sockets"
description: """
Implementation of MirageOS network interfaces using raw sockets. The
caller is in charge of opening the file-descriptor with that are passed
to the `connect` function."""
url {
  src:
    "https://github.com/mirage/mirage-net-fd/releases/download/0.1.0/mirage-net-fd-0.1.0.tbz"
  checksum: "md5=592bcaad989665793d98b2a3fff60eb9"
}
