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
|
opam-version: "2.0"
synopsis: "Unix errno types, maps, and support"
description: """\
unix-errno can be used with or without ctypes and OCaml's Unix
module. Without ctypes and Unix, the basic types and functions are
provided as well as Errno_host containing errno maps for popular
operating systems. The errno-srcgen tool for generating OCaml source
representing Errno.Host.t values will also be built. With ctypes and
Unix, you'll also receive the errno-map tool for outputting the current
host's errno map and the Errno_unix module containing an errno global
variable checking function and Unix.error type converters."""
maintainer: "Xapi Project"
authors: "David Sheets <sheets@alum.mit.edu>"
license: "ISC"
tags: ["errno" "errno.h" "errors" "unix" "syscall"]
homepage: "https://github.com/xapi-project/ocaml-unix-errno"
bug-reports: "https://github.com/xapi-project/ocaml-unix-errno/issues"
depends: [
"ocaml" {>= "4.01.0"}
"dune" {>= "2.0"}
"alcotest" {with-test}
"base-bytes"
"result"
"ctypes"
]
depopts: ["base-unix"]
conflicts: [
"ctypes" {< "0.7.0"}
]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "build" "-p" name "-j" jobs "@runtest"] {with-test}
]
dev-repo: "git+https://github.com/xapi-project/ocaml-unix-errno.git"
|