opam-version: "2.0"
maintainer: "anil@recoil.org"
authors: [
  "Anil Madhavapeddy"
  "Tim Deegan"
  "Richard Mortier"
  "Haris Rotsos"
  "David Sheets"
  "Thomas Gazagnaire"
  "Luke Dunstan"
  "David Scott"
]
homepage: "https://github.com/mirage/ocaml-dns"
bug-reports: "https://github.com/mirage/ocaml-dns/issues"
license: "ISC"
tags: ["org:mirage" "org:xapi-project"]
dev-repo: "git+https://github.com/mirage/ocaml-dns.git"
build: [
  [
    "ocaml"
    "setup.ml"
    "-configure"
    "--prefix"
    prefix
    "--enable-lwt"
    "--%{mirage-types:enable}%-mirage"
  ]
  ["ocaml" "setup.ml" "-build"]
]
install: ["ocaml" "setup.ml" "-install"]
remove: ["ocamlfind" "remove" "dns"]
depends: [
  "ocaml" {>= "4.02.0"}
  "ocamlfind" {build}
  "base-bytes"
  "lwt" {>= "2.4.7" & < "3.0.0"}
  "cstruct" {>= "1.9.0" & < "3.0.0"}
  "ppx_tools"
  "re"
  "cmdliner"
  "ipaddr" {>= "2.6.0" & < "2.8.0"}
  "uri" {>= "1.7.0" & < "1.9.4"}
  "base64" {>= "2.0.0" & < "3.0.0"}
  "mirage-profile"
  "hashcons"
  "ounit" {with-test}
  "pcap-format" {with-test}
]
depopts: [
  "async"
  "mirage-types"
]
conflicts: [
  "mirage-types" {< "1.2.0" | >"3.0.0"}
  "async" {< "112.24.00"}
]
synopsis: "DNS client and server implementation"
description: """
This is a pure OCaml implementation of the DNS protocol. It is intended to be a
reasonably high-performance implementation, but clarity is preferred rather
than low-level performance hacks."""
flags: light-uninstall
url {
  src: "https://github.com/mirage/ocaml-dns/archive/v0.18.1.tar.gz"
  checksum: "md5=a232d3fae3363d00ad5fe672949b3240"
}
