[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67019] [PATCH 06/16] gnu: Add ocaml-ppx-gen-rec.
From: |
Philip McGrath |
Subject: |
[bug#67019] [PATCH 06/16] gnu: Add ocaml-ppx-gen-rec. |
Date: |
Thu, 9 Nov 2023 11:26:28 -0500 |
* gnu/packages/ocaml.scm (ocaml-ppx-gen-rec): New variable.
---
gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index f9a3932d18..b12c12fad5 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6722,6 +6722,34 @@ (define-public ocaml-ppx-deriving
on type definitions, and a set of useful plugins for common tasks.")
(license license:expat)))
+(define-public ocaml-ppx-gen-rec
+ (package
+ (name "ocaml-ppx-gen-rec")
+ (version "2.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://github.com/flow/ocaml-ppx_gen_rec/"
+ "releases/download/v"
+ version
+ "/ppx_gen_rec-v" version ".tbz"))
+ (sha256
+ (base32
+ "0ncy7ps0w3cnb3nk6y1j4v4g60rs500qwv1daw3a9n7n8kjj6qzy"))))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-ppxlib))
+ (native-inputs (list ocaml-ppx-deriving))
+ (properties `((upstream-name . "ppx_gen_rec")))
+ (home-page "https://github.com/flow/ocaml-ppx_gen_rec")
+ (synopsis "Ppx rewriter for recursive module expressions")
+ (description
+ "This package provides a ppx rewriter that transforms a recursive module
+expression into a struct. In a recursive module expression, the struct can be
+derived from the signature automatically by the compiler. This package does
+the same thing, but doing it this way allows @code{ppx_deriving} to transform
+the signature and the struct separately.")
+ (license license:expat)))
+
(define-public ocaml-ppx-derivers
(package
(name "ocaml-ppx-derivers")
--
2.41.0
- [bug#67019] [PATCH v2 13/16] gnu: js-commander: Install as a node module., (continued)
- [bug#67019] [PATCH v2 13/16] gnu: js-commander: Install as a node module., Philip McGrath, 2023/11/16
- [bug#67019] [PATCH v2 14/16] gnu: Add mftrace., Philip McGrath, 2023/11/16
- [bug#67019] [PATCH v2 08/16] gnu: Add node-vlq., Philip McGrath, 2023/11/16
- [bug#67019] [PATCH v2 10/16] gnu: Add node-flow-parser., Philip McGrath, 2023/11/16
- [bug#67019] [PATCH v2 09/16] gnu: Add ocaml-flow-parser., Philip McGrath, 2023/11/16
- [bug#67019] [PATCH v2 09/16] gnu: Add ocaml-flow-parser., Liliana Marie Prikler, 2023/11/16
- [bug#67019] [PATCH v2 07/16] gnu: Add ocaml-dtoa., Philip McGrath, 2023/11/16
- [bug#67019] [PATCH v2 15/16] gnu: Add font-katex., Philip McGrath, 2023/11/16
- [bug#67019] [PATCH v2 16/16] gnu: Add katex., Philip McGrath, 2023/11/16
[bug#67019] [PATCH 05/16] gnu: Add ocaml-visitors., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 06/16] gnu: Add ocaml-ppx-gen-rec.,
Philip McGrath <=
[bug#67019] [PATCH 11/16] gnu: Add flow-remove-types., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 10/16] gnu: Add node-flow-parser., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 12/16] gnu: js-commander: Update to 11.1.0., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 04/16] gnu: Add ocaml-wtf8., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 08/16] gnu: Add node-vlq., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 07/16] gnu: Add ocaml-dtoa., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 14/16] gnu: Add mftrace., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 09/16] gnu: Add ocaml-flow-parser., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 13/16] gnu: js-commander: Install as a node module., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 15/16] gnu: Add font-katex., Philip McGrath, 2023/11/09