/
opam
38 lines (37 loc) · 1.46 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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}
"alcotest" {with-test}
"base-bytes"
"unix-errno" {>= "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.1.tar.gz"
checksum: "md5=184ff11457ed7d2c939a59476e16873f"
}