opam-version: "2.0"
maintainer:   ["Mindy Preston"]
authors   :   ["Mindy Preston"]
homepage:     "https://github.com/mirage/charrua-core"
bug-reports:  "https://github.com/mirage/charrua-core/issues"
dev-repo:     "git+https://github.com/mirage/charrua-core.git"
tags:         [ "org:mirage"]
doc:          "https://docs.mirage.io"

build: [
  [ "jbuilder" "subst" "-n" name ] {pinned}
  [ "jbuilder" "build" "-p" name "-j" jobs ]
  [ "jbuilder" "runtest" "-p" name "-j" jobs ] {with-test}
]

depends: [
  "jbuilder" {>= "1.0+beta9"}
  "ocaml" {>= "4.04.2"}
  "alcotest" {with-test}
  "cstruct-unix" {with-test}
  "mirage-random-test" {with-test}
  "charrua-core" {>= "0.11.0" & < "0.12.0"}
  "cstruct" {>= "3.0.2"}
  "ipaddr" {< "4.0.0"}
]
synopsis: "DHCP client implementation"
description: """
charrua-client is a DHCP client powered by [charrua-core](https://github.com/haesbaert/charrua-core).

The base library exposes a simple state machine in `Dhcp_client`
for use in acquiring a DHCP lease.
"""

url {
archive: "https://github.com/mirage/charrua-core/releases/download/v0.11.0/charrua-core-0.11.0.tbz"
checksum: "f4bb1ac3d1443a576982eae49d0eb7d8"
}
