[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64249] [PATCH v9 26/34] gnu: Add ocaml-pp.
From: |
Julien Lepiller |
Subject: |
[bug#64249] [PATCH v9 26/34] gnu: Add ocaml-pp. |
Date: |
Wed, 10 Jan 2024 08:43:27 +0100 |
* gnu/packages/ocaml.scm (ocaml-pp): New variable.
Change-Id: Ib97bceddda4b7037667cdb1a1b7152c8dc06acd7
---
gnu/packages/ocaml.scm | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index c2927e4f70..070fb4d433 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2016, 2018-2020, 2023 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2016-2022 Julien Lepiller <julien@lepiller.eu>
+;;; Copyright © 2016-2024 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Peter Kreye <kreyepr@gmail.com>
@@ -2001,6 +2001,32 @@ (define-public ocaml5.0-dune
(propagated-inputs
(list ocaml5.0-dune-configurator))))
+(define-public ocaml-pp
+ (package
+ (name "ocaml-pp")
+ (version "1.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ocaml-dune/pp")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0ylwb8lbjzj1prnal3c5p404dvh7bv4s19cvgrplnd7s46lvnj50"))))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-odoc))
+ (native-inputs (list ocaml-ppx-expect))
+ (home-page "https://github.com/ocaml-dune/pp")
+ (synopsis "Pretty-printing library")
+ (description
+ "This library provides an alternative to the @code{Format} module of the
OCaml
+standard library. Pp uses the same concepts of boxes and break hints, and the
+final rendering is done to formatter from the @code{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-csexp
(package
(name "ocaml-csexp")
--
2.41.0
- [bug#64249] [PATCH v9 23/34] gnu: Add ocaml-yaml., (continued)
- [bug#64249] [PATCH v9 23/34] gnu: Add ocaml-yaml., Julien Lepiller, 2024/01/10
- [bug#64249] [PATCH v9 24/34] gnu: Add ocaml-ppx-deriving-yaml., Julien Lepiller, 2024/01/10
- [bug#64249] [PATCH v9 16/34] gnu: ocaml-bin-prot: Update to 0.16.0., Julien Lepiller, 2024/01/10
- [bug#64249] [PATCH v9 27/34] gnu: Add dune-ordering., Julien Lepiller, 2024/01/10
- [bug#64249] [PATCH v9 30/34] gnu: Add dune-private-libs., Julien Lepiller, 2024/01/10
- [bug#64249] [PATCH v9 29/34] gnu: Add dune-stdune., Julien Lepiller, 2024/01/10
- [bug#64249] [PATCH v9 22/34] gnu: Add ocaml-junit-alcotest., Julien Lepiller, 2024/01/10
- [bug#64249] [PATCH v9 28/34] gnu: Add dune-dyn., Julien Lepiller, 2024/01/10
- [bug#64249] [PATCH v9 34/34] gnu: opam: Update to 2.1.5., Julien Lepiller, 2024/01/10
- [bug#64249] [PATCH v9 31/34] gnu: Add dune-site., Julien Lepiller, 2024/01/10
- [bug#64249] [PATCH v9 26/34] gnu: Add ocaml-pp.,
Julien Lepiller <=
- [bug#64249] [PATCH v9 33/34] gnu: ocaml-base64: Update to 3.5.1., Julien Lepiller, 2024/01/10
- [bug#64249] [PATCH v9 32/34] gnu: frama-c: Update to 27.1., Julien Lepiller, 2024/01/10