opam-version: "2.0"
maintainer:   ["Mindy Preston <mindy.preston@docker.com>"]
authors   :   ["Mindy Preston <mindy.preston@docker.com>"]
homepage:     "https://github.com/yomimono/charrua-client"
bug-reports:  "https://github.com/yomimono/charrua-client/issues"
dev-repo: "git+https://github.com/yomimono/charrua-client.git"
tags:         [ "org:mirage"]
doc:          "https://docs.mirage.io"

build: [
  [
    "ocaml"
    "pkg/pkg.ml"
    "build"
    "--pinned"
    "%{pinned}%"
    "--tests"
    "false"
    "--with-mirage"
    "%{mirage-types-lwt:installed}%"
  ]
  ["ocaml" "pkg/pkg.ml" "build" "--tests" "true"] {with-test}
  ["ocaml" "pkg/pkg.ml" "test"] {with-test}
]
depends: [
  "ocaml" {>= "4.03"}
  "ocamlbuild" {build}
  "ocamlfind" {build}
  "topkg" {build}
  "alcotest" {with-test}
  "charrua-core" {>= "0.4" & < "0.5"}
  "cstruct"
  "ipaddr" {< "4.0.0"}
  "rresult"
  "mirage-random" {>= "1.0.0" & < "1.2.0"}
  "duration"
  "logs"
  "tcpip" {>= "3.0.0" & < "3.6.0"}
  "fmt"
]
depopts: [
  "mirage-types-lwt"
]
conflicts: [
  "mirage-types-lwt" {<"3.0.0"}
  "mirage-types" {<"3.0.0"}
]
synopsis:
  "Library using charrua-core to provide a DHCP-configured IPv4 implementation"
url {
  src:
    "https://github.com/yomimono/charrua-client/releases/download/0.1.0/charrua-client-0.1.0.tbz"
  checksum: "md5=40932786184f5f8822ec9343a7775531"
}
