opam-version: "2.0"
homepage:     "https://github.com/mirleft/ocaml-x509"
authors:      [ "David Kaloper <david@numm.org>" "Hannes Mehnert <hannes@mehnert.org>" ]
maintainer:   [ "Hannes Mehnert <hannes@mehnert.org>" "David Kaloper <david@numm.org>" ]
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
]
remove: [
  ["ocamlfind" "remove" "x509"]
]
depends: [
  "ocaml" {>= "4.01.0"}
  "ocamlfind"
  "cstruct" {>= "1.2.0" & < "4.0.0"}
  "type_conv"
  "sexplib" {< "113.01.00"}
  "nocrypto" {= "0.1.0"}
  "asn1-combinators" {< "0.2.0"}
  "ocamlbuild" {build}
]
tags: [ "org:mirage" ]
dev-repo: "git://github.com/mirleft/ocaml-x509"
install: ["ocaml" "setup.ml" "-install"]
synopsis: "X.509 certificate (RFC5280) library"
description: """
Library for X.509 certificate parsing, serialization and authentication.
Supports path validation (RFC5280) and hostname verification (RFC6125)."""
flags: light-uninstall
url {
  src: "https://github.com/mirleft/ocaml-x509/archive/0.1.0.tar.gz"
  checksum: "md5=540df4d55da82f939349c335f1a7fd09"
}
