opam-version: "2.0" maintainer: "sheets@alum.mit.edu" authors: "David Sheets" homepage: "https://github.com/dsheets/ocaml-unix-errno" bug-reports: "https://github.com/dsheets/ocaml-unix-errno/issues" license: "ISC" tags: ["errno" "errno.h" "errors" "unix" "syscall"] dev-repo: "git+https://github.com/dsheets/ocaml-unix-errno.git" build: [ [make "build"] [make "test"] {with-test} ] install: [make "install"] remove: [make "uninstall"] depends: [ "ocaml" {>= "4.01.0" & < "5.0"} "ocamlfind" {build} "ocamlbuild" {build & != "0.9.0"} "alcotest" {with-test} "base-bytes" "result" "ctypes" {with-test} ] depopts: ["base-unix" "ctypes"] conflicts: [ "ctypes" {< "0.4.0"} "ctypes" {>= "0.7.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.""" url { src: "https://github.com/dsheets/ocaml-unix-errno/archive/0.4.2.tar.gz" checksum: [ "sha256=3916fdf50edd065a5627a2acd80e27552f0b09dfa42718fe8057e69ce398bed9" "md5=846a01bf904e1fae31c79010276d2bd6" ] }