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"
tags: ["unix" "posix" "sys/stat.h" "syscall" "stat"]
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}
  "ctypes-build" {build}
  "alcotest" {with-test}
  "base-bytes"
  "unix-errno" {>= "0.4.0"}
  "ctypes" {>= "0.6.0"}
  "posix-types" {< "2.0.0"}
  "unix-type-representations"
]
depopts: ["base-unix" "lwt"]
conflicts: ["lwt" {< "2.4.7"} "lwt" {>= "4.0.0"}]
synopsis:
  "ocaml-unix-sys-stat provides access to the features exposed in sys/stat.h"
description: """
in a way that is not tied to the implementation on the host system.

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.5.2.tar.gz"
  checksum: "md5=9657abc17cfd0b67dd99e2808cf93736"
}
