opam-version: "2.0"
authors:      ["Dave Scott" "Anil Madhavapeddy"]
maintainer:   "dave@recoil.org"
homepage:     "https://github.com/mirage/ocaml-fat"
bug-reports:  "https://github.com/mirage/ocaml-fat/issues"
dev-repo: "git+https://github.com/mirage/ocaml-fat.git"
doc:          "https://mirage.github.io/ocaml-fat/"

build: [
  ["jbuilder" "subst" "-p" name "--name" name] {pinned}
  ["jbuilder" "build" "-p" name "-j" jobs]
]
depends: [
  "ocaml" {>= "4.03.0" & < "4.06.0"}
  "jbuilder" {>= "1.0+beta7"}
  "cstruct" {>= "3.0.0" & < "3.4.0"}
  "ppx_tools"
  "ppx_cstruct"
  "result"
  "rresult"
  "lwt" {>= "2.4.3"}
  "mirage-fs" {>= "1.0.0" & < "3.0.0"}
  "mirage-fs-lwt" {>= "1.0.0"}
  "mirage-block-lwt" {>= "1.0.0"}
  "mirage-block-unix" {>= "2.5.0"}
  "io-page-unix" {>= "2.0.0"}
  "re"
  "cmdliner"
  "astring"
  "alcotest" {with-test}
]
tags: [
  "org:mirage"
  "org:xapi-project"
]
synopsis: "FAT filesystem implementation"
url {
  src:
    "https://github.com/mirage/ocaml-fat/releases/download/0.12.2/fat-filesystem-0.12.2.tbz"
  checksum: "md5=aeac182a6135f0ab9d4394027ac0da96"
}
