···
2
+
synopsis: "Unix errno types, maps, and support"
4
+
unix-errno can be used with or without ctypes and OCaml's Unix
5
+
module. Without ctypes and Unix, the basic types and functions are
6
+
provided as well as Errno_host containing errno maps for popular
7
+
operating systems. The errno-srcgen tool for generating OCaml source
8
+
representing Errno.Host.t values will also be built. With ctypes and
9
+
Unix, you'll also receive the errno-map tool for outputting the current
10
+
host's errno map and the Errno_unix module containing an errno global
11
+
variable checking function and Unix.error type converters."""
12
+
maintainer: "Xapi Project"
13
+
authors: "David Sheets <sheets@alum.mit.edu>"
15
+
tags: ["errno" "errno.h" "errors" "unix" "syscall"]
16
+
homepage: "https://github.com/xapi-project/ocaml-unix-errno"
17
+
bug-reports: "https://github.com/xapi-project/ocaml-unix-errno/issues"
19
+
"ocaml" {>= "4.01.0"}
21
+
"alcotest" {with-test}
26
+
depopts: ["base-unix"]
28
+
"ctypes" {< "0.7.0"}
31
+
["dune" "subst"] {dev}
32
+
["dune" "build" "-p" name "-j" jobs]
33
+
["dune" "build" "-p" name "-j" jobs "@runtest"] {with-test}
35
+
dev-repo: "git+https://github.com/xapi-project/ocaml-unix-errno.git"
38
+
"https://github.com/xapi-project/ocaml-unix-errno/releases/download/0.6.2/unix-errno-0.6.2.tbz"
40
+
"sha256=2d6a9bc86731b3a7ff15c38fa3725847753e00bd091de5828868ee621c71ad65"
41
+
"sha512=3f820834fe4dcc246e777a3e4b9d19c85dcccf87aa77b7b9e3a59e5080f6094dc059d5d035831e82cc3efc4c20065422e3299cb44ff49674b7b0a3139fd15ba7"
44
+
x-commit-hash: "c91d9ac97e33f7df0d63f95110130130d040c6ce"