opam-version: "2.0"
maintainer: "Etienne Millon <etienne@cryptosense.com>"
authors: "Etienne Millon <etienne@cryptosense.com>"
homepage: "https://github.com/cryptosense/terminal_size"
bug-reports: "https://github.com/cryptosense/terminal_size/issues"
license: "BSD-2-Clause"
dev-repo: "git+https://github.com/cryptosense/terminal_size.git"
doc: "https://cryptosense.github.io/terminal_size/doc"
build: [
  ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"]
  ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true"]
    {with-test & os != "macos"}
  ["ocaml" "pkg/pkg.ml" "test"] {with-test & os != "macos"}
]
depends: [
  "ocaml" {>= "4.01.0"}
  "ocamlbuild" {build}
  "ocamlfind" {build}
  "alcotest" {with-test}
  "topkg" {build}
]
synopsis: "Get the dimensions of the terminal"
description: """
You can use this small library to detect the dimensions of the terminal window
attached to a process."""
url {
  src:
    "https://github.com/cryptosense/terminal_size/releases/download/v0.1.1/terminal_size-0.1.1.tbz"
  checksum: "md5=46fe5f36bf485b47b4d88cbdb2cc17f2"
}
