opam-version: "2.0"
synopsis: "QubesOS firewall ruleset handling library"
maintainer:   "team@robur.io"
authors:      ["Robur.coop"]
homepage:     "https://github.com/roburio/ocaml-pf"
bug-reports:  "https://github.com/roburio/ocaml-pf/issues"
dev-repo:     "git+https://github.com/roburio/ocaml-pf.git#just-qubes"
doc:          "https://roburio.github.io/ocaml-pf/just-qubes/"
license:      "AGPL-3"
tags: "org:mirage"

build: [
  [ "dune" "subst"] {pinned}
  [ "dune" "build" "-p" name "-j" jobs ]
  [ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
]

depends: [
  "dune"
  "ocaml" { >= "4.07.0" }
  "cstruct"   { >= "3.3.0" }
  "angstrom"  { >= "0.14.0" }
  "fmt"       { >= "0.8.4" }
  "logs"      { >= "0.6.2" }
  "rresult"   { >= "0.5.0" }
  "uri"       { >= "1.9.5" }
  "ipaddr"    { >= "2.8.0" }
  "bisect_ppx" { >= "1.4.1" }
  "alcotest" { with-test }
  "afl-persistent" { with-test }
]
description: """
pf-qubes provides a parser for the QubesOS (>=4.0) firewall ruleset syntax.
"""
url {
  src:
    "https://github.com/roburio/ocaml-pf/releases/download/v0.1.1/pf-qubes-v0.1.1.tbz"
  checksum: [
    "sha256=4e21b305a83a5e4e4972d776298a05b4a9a177c8ad5a232f88654eed2909a7cf"
    "sha512=a89295829a6b794dcd79a5d3092f92b77c67ecdb802a86beece6a93bdb24d3d5813e12c48f1d214d798d3e826c129cd14e8e77d6f23968a891b91cce0685100c"
  ]
}
