opam-version: "2.0"
maintainer: "team AT robur dot io"
authors: ["Hannes Mehnert <hannes@mehnert.org>"]
homepage: "https://github.com/mirage/ocaml-dns"
doc: "https://mirage.github.io/ocaml-dns/"
dev-repo: "git+https://github.com/mirage/ocaml-dns.git"
bug-reports: "https://github.com/mirage/ocaml-dns/issues"
license: "BSD2"

depends: [
  "dune" {>= "1.2.0"}
  "ocaml" {>= "4.07.0"}
  "dns" {= version}
  "nocrypto" {>= "0.5.4"}
  "alcotest" {with-test}
]

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

synopsis: "TSIG support for DNS"
description: """
TSIG is used to authenticate nsupdate frames using a HMAC.
"""
url {
  src:
    "https://github.com/mirage/ocaml-dns/releases/download/v4.1.0/dns-v4.1.0.tbz"
  checksum: [
    "sha256=d3c4ae7cd054dc255867ee4c5da5fde5f90e1e97faf4b9d2ee76cdcebc7db8fb"
    "sha512=4afadad69ddeab049e3129286e02b3731b7392a4762009037ded870f83cf2ff2a8f68b2372176ef9dca602c0b61e910074562f262ac40e2b9466ceb31f37c7c7"
  ]
}
