[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64209] [PATCH v3 02/14] gnu: Add ocaml-pp.
From: |
Benjamin |
Subject: |
[bug#64209] [PATCH v3 02/14] gnu: Add ocaml-pp. |
Date: |
Fri, 10 Nov 2023 16:46:14 +0100 |
* gnu/packages/ocaml.scm (ocaml-pp): New variable.
Change-Id: Ic1782f531515802facb7fbcaea35405feffe2dc3
---
gnu/packages/ocaml.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 2fd2f8e9f9..497588c4ea 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1980,6 +1980,33 @@ (define-public ocaml5.0-csexp
(propagated-inputs
`(("ocaml-result" ,ocaml5.0-result)))))
+(define-public ocaml-pp
+ (package
+ (name "ocaml-pp")
+ (version "1.1.2")
+ (home-page "https://github.com/ocaml-dune/pp")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0w7gxa85ffbd6jgs6ziarq69yi423f0qkpk05r3abh6lg8smw8pg"))))
+ (build-system dune-build-system)
+ (native-inputs (list ocaml-ppx-expect))
+ (synopsis "Pretty-printing library for ocaml that aims to be easy to use")
+ (description
+ "This library provides a lean alternative to the Format 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.")
+ (license license:expat)))
+
(define-public ocaml-migrate-parsetree
(package
(name "ocaml-migrate-parsetree")
--
2.41.0
- [bug#64209] [PATCH v3 00/14] improve synopsies and descriptions, Benjamin, 2023/11/10
- [bug#64209] [PATCH v3 06/14] gnu: Add ocaml-dyn., Benjamin, 2023/11/10
- [bug#64209] [PATCH v3 03/14] gnu: Add ocamlformat-rpc-lib., Benjamin, 2023/11/10
- [bug#64209] [PATCH v3 01/14] gnu: Fix ocaml-dune-build-info, Benjamin, 2023/11/10
- [bug#64209] [PATCH v3 07/14] gnu: Add ocaml-stdune., Benjamin, 2023/11/10
- [bug#64209] [PATCH v3 11/14] gnu: Add ocaml-fiber., Benjamin, 2023/11/10
- [bug#64209] [PATCH v3 12/14] gnu: Add ocaml-dune-rpc., Benjamin, 2023/11/10
- [bug#64209] [PATCH v3 04/14] gnu: Add ocaml-ppx-yojson-conv-lib., Benjamin, 2023/11/10
- [bug#64209] [PATCH v3 02/14] gnu: Add ocaml-pp.,
Benjamin <=
- [bug#64209] [PATCH v3 08/14] gnu: Add ocaml-chrome-trace., Benjamin, 2023/11/10
- [bug#64209] [PATCH v3 05/14] gnu: Add ocaml-ordering., Benjamin, 2023/11/10
- [bug#64209] [PATCH v3 13/14] gnu: Add ocaml-merlin-lib-4.9., Benjamin, 2023/11/10
- [bug#64209] [PATCH v3 09/14] gnu: Add ocaml-xdg., Benjamin, 2023/11/10
- [bug#64209] [PATCH v3 14/14] gnu: Add ocaml-lsp-server., Benjamin, 2023/11/10
- [bug#64209] [PATCH v3 10/14] gnu: Add ocamlc-loc., Benjamin, 2023/11/10