opam-version: "2.0"
synopsis: "X.509 trust anchors extracted from Mozilla's NSS"
description: """
Trust anchors extracted from Mozilla's NSS certdata.txt package,
to be used in MirageOS unikernels.
"""
maintainer: ["Hannes Mehnert <hannes@mehnert.org>"]
authors: ["Hannes Mehnert <hannes@mehnert.org>"]
license: "ISC"
homepage: "https://github.com/mirage/ca-certs-nss"
doc: "https://mirage.github.io/ca-certs-nss/doc"
bug-reports: "https://github.com/mirage/ca-certs-nss/issues"
depends: [
  "dune" {>= "2.0"}
  "rresult"
  "mirage-crypto"
  "mirage-clock"
  "x509" {>= "0.11.0" & < "0.13.0"}
  "ocaml" {>= "4.07.0"}
  "logs" {build}
  "fmt" {build}
  "hex" {build}
  "bos" {build}
  "astring" {build}
  "cmdliner" {build}
  "alcotest" {with-test}
]
build: [
  ["dune" "subst"] {pinned}
  [
    "dune"
    "build"
    "-p"
    name
    "-j"
    jobs
    "@install"
    "@runtest" {with-test}
    "@doc" {with-doc}
  ]
]
dev-repo: "git+https://github.com/mirage/ca-certs-nss.git"
tags: ["org:mirage"]
url {
  src:
    "https://github.com/mirage/ca-certs-nss/releases/download/v3.59/ca-certs-nss-v3.59.tbz"
  checksum: [
    "sha256=b3dfe7d79301eeac24088c95226a0b2010f9c1160ad8c8f570ec7e116af41b2b"
    "sha512=202246b270a1d2d93caa40391e49b2af4b7a1b3fce9b66499d46a9c846adf74b51e543ab0747ea47efcffd411e5cfb0f50edeca92d0bdef9621c7e6f4cdeeabb"
  ]
}
