Skip to content

Commit a4d6b07

Browse files
committed
Package pplumbing.0.0.14
1 parent 584630e commit a4d6b07

File tree

1 file changed

+86
-0
lines changed
  • packages/pplumbing/pplumbing.0.0.14

1 file changed

+86
-0
lines changed
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
opam-version: "2.0"
2+
synopsis: "Utility libraries to use with [pp]"
3+
maintainer: ["Mathieu Barbin <[email protected]>"]
4+
authors: ["Mathieu Barbin"]
5+
license: "MIT"
6+
homepage: "https://github.com/mbarbin/pplumbing"
7+
doc: "https://mbarbin.github.io/pplumbing/"
8+
bug-reports: "https://github.com/mbarbin/pplumbing/issues"
9+
depends: [
10+
"dune" {>= "3.17"}
11+
"ocaml" {>= "4.14"}
12+
"cmdlang" {>= "0.0.9"}
13+
"cmdlang-to-cmdliner" {>= "0.0.9"}
14+
"cmdliner" {>= "1.3.0"}
15+
"dyn" {>= "3.17"}
16+
"fmt" {>= "0.9.0"}
17+
"loc" {>= "0.2.2"}
18+
"logs" {>= "0.7.0"}
19+
"ordering" {>= "3.17"}
20+
"parsexp" {>= "v0.16"}
21+
"pp" {>= "2.0.0"}
22+
"sexplib0" {>= "v0.16"}
23+
"stdune" {>= "3.17"}
24+
"odoc" {with-doc}
25+
]
26+
build: [
27+
["dune" "subst"] {dev}
28+
[
29+
"dune"
30+
"build"
31+
"-p"
32+
name
33+
"-j"
34+
jobs
35+
"@install"
36+
"@runtest" {with-test}
37+
"@doc" {with-doc}
38+
]
39+
]
40+
dev-repo: "git+https://github.com/mbarbin/pplumbing.git"
41+
description: """\
42+
43+
[pplumbing] defines a set of utility libraries to use with [pp]. It
44+
is compatible with [logs] and inspired by design choices used by
45+
[dune] for user messages:
46+
47+
- [Pp_tty] extends [pp] to build colored documents in the user's
48+
terminal using ansi escape codes.
49+
50+
- [Err] is an abstraction to report located errors and warnings to
51+
the user.
52+
53+
- [Log] is an interface to [logs] using [Pp_tty] rather than [Format].
54+
55+
- [Log_cli] contains functions to work with [Err] on the side of end
56+
programs (such as a command line tool). It defines command line
57+
helpers to configure the [Err] library, while taking care of setting
58+
the [logs] and [fmt] style rendering.
59+
60+
- [Cmdlang_cmdliner_runner] is a library for running command line
61+
programs specified with [cmdlang] with [cmdliner] as a backend and
62+
making opinionated choices, assuming your dependencies are using
63+
[Err].
64+
65+
These libraries are meant to combine nicely into a small ecosystem of
66+
useful helpers to build CLIs in OCaml.
67+
68+
[cmdlang]: https://github.com/mbarbin/cmdlang
69+
[cmdliner]: https://github.com/dbuenzli/cmdliner
70+
[dune]: https://github.com/ocaml/dune
71+
[fmt]: https://github.com/dbuenzli/fmt
72+
[logs]: https://github.com/dbuenzli/logs
73+
[pp]: https://github.com/ocaml-dune/pp
74+
75+
"""
76+
tags: [ "cli" "cmdlang" "logs" "pp" ]
77+
x-maintenance-intent: [ "(latest)" ]
78+
url {
79+
src:
80+
"https://github.com/mbarbin/pplumbing/releases/download/0.0.14/pplumbing-0.0.14.tbz"
81+
checksum: [
82+
"sha256=ed7eaba180378a59719e9af63ccdc89dde8e0a20f2cba420abb0080b0bc4a868"
83+
"sha512=f168c37c1acd38c92e5b6d59321da4021195b6ddc49dde82de70e9282b55042621bea1b84a677d57f83604c06d6ee9c790b683fd589cd2097ab8f00c293f56af"
84+
]
85+
}
86+
x-commit-hash: "e77dc8813860b9d8d19d82725252770a3f55f79d"

0 commit comments

Comments
 (0)