-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24446 from emillon/release-pp-1.2.0
[new release] pp (1.2.0)
- Loading branch information
Showing
1 changed file
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
opam-version: "2.0" | ||
synopsis: "Pretty-printing library" | ||
description: """ | ||
|
||
This library provides a lean alternative to the Format [1] module of | ||
the OCaml standard library. It aims to make it easy for users to do | ||
the right thing. If you have tried Format before but find its API | ||
complicated and difficult to use, then Pp might be a good choice for | ||
you. | ||
|
||
Pp uses the same concepts of boxes and break hints, and the final | ||
rendering is done to formatter from the Format module. However it | ||
defines its own algebra which some might find easier to work with and | ||
reason about. No previous knowledge is required to start using this | ||
library, however the various guides for the Format module such as this | ||
one [2] should be applicable to Pp as well. | ||
|
||
[1]: https://caml.inria.fr/pub/docs/manual-ocaml/libref/Format.html | ||
[2]: http://caml.inria.fr/resources/doc/guides/format.en.html | ||
""" | ||
maintainer: ["Jeremie Dimino <[email protected]>"] | ||
authors: [ | ||
"Jane Street Group, LLC <[email protected]>" | ||
"Jeremie Dimino <[email protected]>" | ||
] | ||
license: "MIT" | ||
homepage: "https://github.com/ocaml-dune/pp" | ||
doc: "https://ocaml-dune.github.io/pp/" | ||
bug-reports: "https://github.com/ocaml-dune/pp/issues" | ||
depends: [ | ||
"dune" {>= "2.8"} | ||
"ocaml" {>= "4.08.0"} | ||
"ppx_expect" {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/ocaml-dune/pp.git" | ||
url { | ||
src: | ||
"https://github.com/ocaml-dune/pp/releases/download/1.2.0/pp-1.2.0.tbz" | ||
checksum: [ | ||
"sha256=a5e822573c55afb42db29ec56eacd1f2acd8f65cf2df2878e291de374ce6909c" | ||
"sha512=912164c2aa7241d73f735dadfbefe8ed0138d241579d2e885440e068fac78eb9f0b3d782c2420e757e313168c1725daff6ab91800dd315b1e05288456998b40a" | ||
] | ||
} | ||
x-commit-hash: "83b68c740f21acdcfe54436355ab328372871357" |