opam-version: "2.0"
maintainer: "sheets@alum.mit.edu"
authors: ["David Sheets" "Jeremy Yallop"]
homepage: "https://github.com/dsheets/ocaml-unix-sys-stat"
bug-reports: "https://github.com/dsheets/ocaml-unix-sys-stat/issues"
license: "ISC"
dev-repo: "git+https://github.com/dsheets/ocaml-unix-sys-stat.git"
build: [
  [make "build"]
  [make "test"] {with-test}
]
install: [make "install"]
remove: [make "uninstall"]
depends: [
  "ocaml"
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "alcotest" {with-test}
  "base-bytes"
  "unix-errno" {>= "0.3.0" & < "0.4.0"}
  "ctypes"
]
depopts: "base-unix"
conflicts: [
  "ctypes" {< "0.4.0"}
  "ctypes" {>= "0.6.0"}
]
synopsis:
  "ocaml-unix-sys-stat provides access to the features exposed in sys/stat.h in a way that is not tied to the implementation on the host system."
description: """
The Sys_stat module provides functions for translating between the file types and mode bits accessible through sys/stat.h and their values on particular systems. The Sys_stat_host module exports representations of various hosts.

The Sys_stat_unix provides bindings to functions that use the types in Sys_stat along with a representation of the host system. The bindings support a more comprehensive range of flags than the corresponding functions in the standard OCaml Unix module."""
url {
  src: "https://github.com/dsheets/ocaml-unix-sys-stat/archive/0.3.0.tar.gz"
  checksum: "md5=7e59aa29e9a039ed17a16e1a61bc0dde"
}
