opam-version: "1.2"
maintainer: [
  "Hannes Mehnert <hannes@mehnert.org>" "David Kaloper <david@numm.org>"
]
authors: [
  "David Kaloper <david@numm.org>" "Hannes Mehnert <hannes@mehnert.org>"
]
homepage: "https://github.com/mirleft/ocaml-x509"
bug-reports: "https://github.com/mirleft/ocaml-x509/issues"
license: "BSD2"
doc: "https://mirleft.github.io/ocaml-x509/doc"
tags: "org:mirage"
dev-repo: "https://github.com/mirleft/ocaml-x509.git"
build: ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"]
build-test: [
  ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true"]
  ["ocaml" "pkg/pkg.ml" "test"]
]
depends: [
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "ppx_sexp_conv"
  "topkg" {build}
  "result"
  "cstruct" {>= "1.6.0"}
  "sexplib"
  "asn1-combinators" {>= "0.2.0"}
  "ptime"
  "nocrypto" {>= "0.5.3"}
  "astring"
  "ounit" {test}
  "cstruct-unix" {test & >= "3.0.0"}
]
patches: "0001-x509-add-support-for-ppx_sexp_conv.v0.11.0.patch"
available: [ocaml-version >= "4.02.2"]
