Skip to content

Commit

Permalink
[new release] progress (2 packages) (0.4.0)
Browse files Browse the repository at this point in the history
CHANGES:

- Revert the `terminal` API and keep an "happy" path to get size of a tty
  and be compatible with MirageOS (@art-w, @msprotz, craigfe/progress#42, craigfe/progress#43)
- Use a `float` instead of a `int` in `flow_meter per-second` (@mbarbin, craigfe/progress#23, craigfe/progress#27)
  • Loading branch information
dinosaure committed May 20, 2024
1 parent 97de337 commit 9269bd9
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 0 deletions.
50 changes: 50 additions & 0 deletions packages/progress/progress.0.4.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
opam-version: "2.0"
synopsis: "User-definable progress bars"
description: """
A progress bar library for OCaml, featuring a DSL for declaratively specifying
progress bar formats. Supports rendering multiple progress bars simultaneously."""
maintainer: ["Craig Ferguson <[email protected]>"]
authors: ["Craig Ferguson <[email protected]>"]
license: "MIT"
homepage: "https://github.com/CraigFe/progress"
doc: "https://CraigFe.github.io/progress/"
bug-reports: "https://github.com/CraigFe/progress/issues"
depends: [
"dune" {>= "2.7"}
"ocaml" {>= "4.08.0"}
"terminal" {= version}
"fmt" {>= "0.8.5"}
"logs" {>= "0.7.0"}
"mtime" {>= "2.0.0"}
"uucp" {>= "2.0.0"}
"uutf" {>= "1.0.0"}
"vector"
"optint" {>= "0.1.0"}
"alcotest" {with-test & >= "1.4.0"}
"astring" {with-test}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/CraigFe/progress.git"
url {
src:
"https://github.com/craigfe/progress/releases/download/0.4.0/progress-0.4.0.tbz"
checksum: [
"sha256=8be449553379bb2dc5e8b79805c80447690a03dca3e9aee959fecf46d8278fb7"
"sha512=841383e8aa7d6bd802ced5eb7feae01bd507b2914eb45e8a559140677f83d5b8ec614f1d0bc54421021b5254a1edd78dd8a2506b2dfb264af72448d76bd03ac5"
]
}
x-commit-hash: "b4d34b7b1d9622402fca3ad8ff7ed5816c74bf8c"
45 changes: 45 additions & 0 deletions packages/terminal/terminal.0.4.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
opam-version: "2.0"
synopsis: "Basic utilities for interacting with terminals"
description: "Basic utilities for interacting with terminals"
maintainer: ["Craig Ferguson <[email protected]>"]
authors: ["Craig Ferguson <[email protected]>"]
license: "MIT"
homepage: "https://github.com/CraigFe/progress"
doc: "https://CraigFe.github.io/progress/"
bug-reports: "https://github.com/CraigFe/progress/issues"
depends: [
"dune" {>= "2.7"}
"ocaml" {>= "4.03.0"}
"uucp" {>= "2.0.0"}
"uutf" {>= "1.0.0"}
"stdlib-shims"
"alcotest" {with-test & >= "1.4.0"}
"fmt" {with-test}
"astring" {with-test}
"mtime" {with-test & >= "2.0.0"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/CraigFe/progress.git"
url {
src:
"https://github.com/craigfe/progress/releases/download/0.4.0/progress-0.4.0.tbz"
checksum: [
"sha256=8be449553379bb2dc5e8b79805c80447690a03dca3e9aee959fecf46d8278fb7"
"sha512=841383e8aa7d6bd802ced5eb7feae01bd507b2914eb45e8a559140677f83d5b8ec614f1d0bc54421021b5254a1edd78dd8a2506b2dfb264af72448d76bd03ac5"
]
}
x-commit-hash: "b4d34b7b1d9622402fca3ad8ff7ed5816c74bf8c"

0 comments on commit 9269bd9

Please sign in to comment.