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

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

depends: [
  "dune" {>= "1.2"}
  "ocaml" {>= "4.04.2"}
  "alcotest" {with-test}
  "cstruct-unix" {with-test}
  "charrua" {= version}
  "charrua-client" {= version}
  "cstruct" {>= "3.0.2"}
  "ipaddr" {>= "3.0.0"}
  "mirage-random" {>= "1.0.0" & < "2.0.0"}
  "duration"
  "mirage-time-lwt"
  "mirage-net-lwt" {>= "2.0.0"}
  "logs"
  "fmt"
  "lwt"
]
synopsis: "A DHCP client using lwt as effectful layer"
description: """
`charrua-client-lwt` extends `charrua-client` with a functor `Dhcp_client_lwt`,
using the provided modules for timing and networking logic,
for convenient use by a program which might wish to implement a full client.
"""
url {
  src:
    "https://github.com/mirage/charrua/releases/download/v1.1.0/charrua-v1.1.0.tbz"
  checksum: [
    "sha256=31fc8919558acb83fe366528c208ba35412ef438462a32e3d8597325c0d6893b"
    "sha512=62a97cc66f286dde86119f34fbc1c11e13c408b4b8330539c523ed2f1dc5953472315bae926dde4cf82ea3b9b627eeba562d29ba498e36ba42d954b87fd2c9b6"
  ]
}
