opam-version: "2.0"
maintainer: "dave@recoil.org"
authors: "David Scott"
license: "ISC"
homepage: "https://github.com/mirage/ocaml-win-error"
bug-reports: "https://github.com/mirage/ocaml-win-error/issues"
doc: "https://mirage.github.io/ocaml-win-error/"
depends: [
  "ocaml" {>= "3.12.1"}
  "base-bytes"
  "base-unix"
  "dune" {>= "1.0"}
]
build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/mirage/ocaml-win-error.git"
synopsis: "Manipulate Windows system errors"
description: """
If your application is likely to run on Windows, simply replace uses of
`Unix.error_message` with `Win_error.error_message`. When the application
runs on Windows, Windows system errors will be decoded; when the application
runs elsewhere then the existing `Unix.error_message` function is
called transparently.
"""
url {
  src: "https://github.com/mirage/ocaml-win-error/releases/download/1.0/win-error-1.0.tbz"
  checksum: "md5=9a627ed19f23485d5889600986684758"
}

