opam-version: "2.0"
authors:      [ "Mindy Preston" "Hannes Mehnert" "Anil Madhavapeddy"
                "Thomas Gazagnaire" ]
maintainer:   [ "anil@recoil.org" "thomas@gazagnaire.org"]
homepage:     "https://github.com/mirage/mirage-fs-unix"
dev-repo:     "git+https://github.com/mirage/mirage-fs-unix.git"
bug-reports:  "https://github.com/mirage/mirage-fs-unix/issues"
doc:          "https://mirage.github.io/mirage-fs-unix/"
tags:         [ "org:mirage" ]
build: [
  ["dune" "subst" ] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
  "dune" {>= "1.0"}
  "ocaml" {>= "4.06.0"}
  "cstruct" {>= "3.2.0"}
  "cstruct-lwt"
  "mirage-kv" {>= "3.0.0"}
  "mirage-fs" {>= "3.0.0"}
  "lwt"
  "rresult" {with-test}
  "mirage-clock-unix" {with-test & >= "3.0.0"}
  "alcotest" {with-test & >= "0.7.1" & < "1.4.0"}
  "ptime" {with-test}
]
synopsis: "Passthrough filesystem for MirageOS on Unix"
description: """
This is a pass-through Mirage filesystem to an underlying Unix directory.  The
interface is intended to support eventual privilege separation (e.g. via the
Casper daemon in FreeBSD 11).

The current version supports the `Mirage_fs.S` signature
defined in the `mirage-fs` package.
"""
post-messages: [
  "This package will be retired in MirageOS 4.0. Please use mirage-kv (and mirage-kv-unix) instead."
]
url {
  src:
    "https://github.com/mirage/mirage-fs-unix/releases/download/v1.7.0/mirage-fs-unix-v1.7.0.tbz"
  checksum: [
    "sha256=bc01f74d088f830ee2099930db46c46bb543409fe589ffe0c99f08c74e4a8b8c"
    "sha512=ccf21640e26e995b2144d69f01885321b3122325295d315afb9dd0247ce45aaecba5abe3c78942749cda39b81f54428fd85ed3d6e2918427a0d8116fc664f098"
  ]
}
