From 7305b3d23b17bdaedf645f9d07c17b7d70c855b3 Mon Sep 17 00:00:00 2001 From: Bertrand Bonnefoy-Claudet Date: Tue, 26 Apr 2022 16:51:42 +0200 Subject: [PATCH 1/2] [new release] terminal_size (0.2.0) CHANGES: *2022-04-26* - Add compatibility with Windows. - Require Dune >= 2.0 and OCaml >= 4.08. --- .../terminal_size/terminal_size.0.2.0/opam | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 packages/terminal_size/terminal_size.0.2.0/opam diff --git a/packages/terminal_size/terminal_size.0.2.0/opam b/packages/terminal_size/terminal_size.0.2.0/opam new file mode 100644 index 00000000000..3cc0f6b0303 --- /dev/null +++ b/packages/terminal_size/terminal_size.0.2.0/opam @@ -0,0 +1,36 @@ +opam-version: "2.0" +maintainer: "Cryptosense " +authors: [ + "Cryptosense " + "Etienne Millon " +] +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: [ + ["dune" "build" "-p" name "-j" jobs] +] +run-test: [ + ["dune" "runtest" "-p" name "-j" jobs] +] +depends: [ + "alcotest" {with-test} + "dune" {build & >= "2.0.0"} + "ocaml" {>= "4.08.0"} +] +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.2.0/terminal_size-0.2.0.tbz" + checksum: [ + "sha256=d6b62cd28c4071ac85ca9528088745c124c9094efeae91722514736f9973b0fb" + "sha512=fd91266b156f52c28338fc8ba5c5c0626b93afa6388fb9e0f98d0f7c200ded02eac56af82b10a3da8d7ec2ef7a91a95fcb113f051a8ec077e155e2ffda75d1c0" + ] +} +x-commit-hash: "9eb137173b2c9885e75e156494f9f508fdaff379" From 8eb1a143f7e8af7289a1037d06553054dba45806 Mon Sep 17 00:00:00 2001 From: Kate Date: Tue, 26 Apr 2022 15:57:37 +0100 Subject: [PATCH 2/2] Update packages/terminal_size/terminal_size.0.2.0/opam --- packages/terminal_size/terminal_size.0.2.0/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/terminal_size/terminal_size.0.2.0/opam b/packages/terminal_size/terminal_size.0.2.0/opam index 3cc0f6b0303..f50ad219938 100644 --- a/packages/terminal_size/terminal_size.0.2.0/opam +++ b/packages/terminal_size/terminal_size.0.2.0/opam @@ -17,7 +17,7 @@ run-test: [ ] depends: [ "alcotest" {with-test} - "dune" {build & >= "2.0.0"} + "dune" {>= "2.0.0"} "ocaml" {>= "4.08.0"} ] synopsis: "Get the dimensions of the terminal"