-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
45 lines (43 loc) · 1.66 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
41
42
43
44
45
opam-version: "2.0"
maintainer: "sheets@alum.mit.edu"
authors: ["David Sheets" "Jeremy Yallop"]
homepage: "https://github.com/dsheets/ocaml-unix-fcntl"
bug-reports: "https://github.com/dsheets/ocaml-unix-fcntl/issues"
license: "ISC"
tags: ["unix" "posix" "fcntl" "syscall" "open"]
dev-repo: "git+https://github.com/dsheets/ocaml-unix-fcntl.git"
build: [make "build"]
install: [make "install"]
remove: [make "uninstall"]
depends: [
"ocaml" {>= "4.02.0" & < "4.05.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"ctypes" {>= "0.4.0"}
"unix-errno" {>= "0.5.0"}
"alcotest" {with-test}
"unix-type-representations"
]
depopts: ["lwt" "base-threads"]
conflicts: ["lwt" {< "2.4.7"}]
synopsis: "Unix fcntl.h types, maps, and support"
description: """
unix-fcntl provides access to the features exposed in fcntl.h in a way
that is not tied to the implementation on the host system.
The Fcntl module provides functions for translating between the names
of the flags exposed in fcntl.h and their values on particular
systems. The Fcntl_host module exports representations of various
hosts.
The Fcntl_unix provides bindings to functions that use the flags in
Fcntl 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. The Fcntl_unix_lwt module
exports non-blocking versions of the functions in Fcntl_unix based on
the Lwt cooperative threading library."""
url {
src: "https://github.com/dsheets/ocaml-unix-fcntl/archive/0.3.4.tar.gz"
checksum: [
"sha256=d4954608714808647a54d4c50a4a4675d6efa3ffd62ec47c664bdd1990ab2b74"
"md5=cf3205d2fbcaa772c4e2459570d488aa"
]
}