-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
40 lines (39 loc) · 1.62 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
39
40
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" & < "0.6.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 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.5.0.tar.gz"
checksum: [
"sha256=5815957cb06c80287dfcca69edf0c8b58633d28bb00e7f474ca1a650d7f04120"
"md5=23220a65aa78c3c51451d21379d899ea"
]
}