opam-version: "2.0"
maintainer: "Thomas Gazagnaire <thomas@gazagnaire.org>"
authors: "Thomas Gazagnaire <thomas@gazagnaire.org>"
homepage: "https://github.com/mirage/mirage-flow"
bug-reports: "https://github.com/mirage/mirage-flow/issues/"
license: "ISC"
dev-repo: "git+https://github.com/mirage/mirage-flow.git"
build: [
  ["./configure" "--prefix=%{prefix}%"]
  [make]
  ["./configure" "--enable-tests"] {with-test}
  [make "test"] {with-test}
]
install: [make "install"]
remove: ["ocamlfind" "remove" "mirage-flow"]
depends: [
  "ocaml"
  "ocamlfind" {build}
  "mirage-types-lwt" {< "3.0.0"}
  "cstruct"
  "lwt" {< "2.5.0"}
  "alcotest" {with-test}
  "ounit" {with-test}
  "ocamlbuild" {build}
]
synopsis: "Various implementations of the MirageOS FLOW interface"
description: """
- `Fflow` uses input/output functions to build a flow
- `Lwt_io_flow` uses `Lwt_io.channel`"""
flags: light-uninstall
url {
  src: "https://github.com/mirage/mirage-flow/archive/1.0.2.tar.gz"
  checksum: "md5=5cbc4ebed6b5b155989e65bf7c01cf00"
}
