this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[new release] pplumbing (0.0.10)

+85
+85
packages/pplumbing/pplumbing.0.0.10/opam
··· 1 + opam-version: "2.0" 2 + synopsis: "Utility libraries to use with [pp]" 3 + maintainer: ["Mathieu Barbin <opensource@mbarbin.org>"] 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" {>= "5.2"} 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 + "pp" {>= "2.0.0"} 21 + "sexplib0" {>= "v0.17"} 22 + "stdune" {>= "3.17"} 23 + "odoc" {with-doc} 24 + ] 25 + build: [ 26 + ["dune" "subst"] {dev} 27 + [ 28 + "dune" 29 + "build" 30 + "-p" 31 + name 32 + "-j" 33 + jobs 34 + "@install" 35 + "@runtest" {with-test} 36 + "@doc" {with-doc} 37 + ] 38 + ] 39 + dev-repo: "git+https://github.com/mbarbin/pplumbing.git" 40 + description: """\ 41 + 42 + [pplumbing] defines a set of utility libraries to use with [pp]. It 43 + is compatible with [logs] and inspired by design choices used by 44 + [dune] for user messages: 45 + 46 + - [Pp_tty] extends [pp] to build colored documents in the user's 47 + terminal using ansi escape codes. 48 + 49 + - [Err] is an abstraction to report located errors and warnings to 50 + the user. 51 + 52 + - [Log] is an interface to [logs] using [Pp_tty] rather than [Format]. 53 + 54 + - [Log_cli] contains functions to work with [Err] on the side of end 55 + programs (such as a command line tool). It defines command line 56 + helpers to configure the [Err] library, while taking care of setting 57 + the [logs] and [fmt] style rendering. 58 + 59 + - [Cmdlang_cmdliner_runner] is a library for running command line 60 + programs specified with [cmdlang] with [cmdliner] as a backend and 61 + making opinionated choices, assuming your dependencies are using 62 + [Err]. 63 + 64 + These libraries are meant to combine nicely into a small ecosystem of 65 + useful helpers to build CLIs in OCaml. 66 + 67 + [cmdlang]: https://github.com/mbarbin/cmdlang 68 + [cmdliner]: https://github.com/dbuenzli/cmdliner 69 + [dune]: https://github.com/ocaml/dune 70 + [fmt]: https://github.com/dbuenzli/fmt 71 + [logs]: https://github.com/dbuenzli/logs 72 + [pp]: https://github.com/ocaml-dune/pp 73 + 74 + """ 75 + tags: [ "cli" "cmdlang" "logs" "pp" ] 76 + x-maintenance-intent: [ "(latest)" ] 77 + url { 78 + src: 79 + "https://github.com/mbarbin/pplumbing/releases/download/0.0.10/pplumbing-0.0.10.tbz" 80 + checksum: [ 81 + "sha256=17725f5fc34bab17168bb8dadca78b07e76aada6736617782af34d34ef0e7cc1" 82 + "sha512=6b538f79a41dc43f6b8adca455972a0755ddbeb348f17442cb47a0eb3d72ef9bf630ffbe2e3634d66d1b44972ade7bf95e6b495c54bb219841cf8024b16b196d" 83 + ] 84 + } 85 + x-commit-hash: "48fa979cbfad07d1111a09c01999560f20fd7f5c"