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: "BSD-2-Clause"

depends: [
  "dune" {>= "1.2.0"}
  "ocaml" {>= "4.07.0"}
  "dns" {= version}
  "mirage-crypto"
  "base64" {>= "3.0.0"}
  "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.
"""
x-commit-hash: "713138069df05b1b2176c24fc0e6a792d4f59f3b"
url {
  src:
    "https://github.com/mirage/ocaml-dns/releases/download/v4.6.2/dns-v4.6.2.tbz"
  checksum: [
    "sha256=389853da09b10d3d2c37a2c556c6370066a5c1432766aa88573ba1c24abe3e5f"
    "sha512=cbc31d241af750887efc9e4e550eab2a1a480ca0f06c56b093669059200eba0023acc87fecc889df747c288a13763fe1ea5f50c13270112f8643dc9e7b735278"
  ]
}
