opam-version: "2.0"
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
authors: "Hannes Mehnert <hannes@mehnert.org>"
license: "BSD2"
homepage: "https://github.com/hannesm/conex"
doc: "https://hannesm.github.io/conex/doc"
bug-reports: "https://github.com/hannesm/conex/issues"
depends: [
  "ocaml" {>= "4.05.0"}
  "dune"
  "alcotest" {with-test}
  "cmdliner"
  "conex" {= version}
  "cstruct" {>= "1.6.0"}
  "nocrypto" {>= "0.5.4"}
  "x509" {>= "0.7.0" & < "0.10.0"}
  "logs"
  "fmt"
  "rresult"
]
build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/hannesm/conex.git"
synopsis: "Establishing trust in community repositories: crypto provided via nocrypto"
description: """
Conex is a system based on [TUF](https://theupdateframework.github.io/) to
establish trust in community repositories. Since opam2, the required hooks
are present.

This package uses the crypto primitives provided by nocrypto.
"""
url {
  src:
    "https://github.com/hannesm/conex/releases/download/v0.11.0/conex-v0.11.0.tbz"
  checksum: [
    "sha256=9b64ab189a68ebb37daed618ce0c201f082469f4b4efa8cc9099442a169d924b"
    "sha512=30caad9a0a8d45d24933652733349e251c0e8decb6ac4c7de18fc4ae8a621865f8af5b2d02a5c9fcca0cc122e6a443ba91f2f7a350f729633923f9c1b5cf913d"
  ]
}
