[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64249] [PATCH 2/9] gnu: Add ocaml-ppx-deriving-yojson.
From: |
ds-ac |
Subject: |
[bug#64249] [PATCH 2/9] gnu: Add ocaml-ppx-deriving-yojson. |
Date: |
Sun, 24 Dec 2023 17:43:37 +0100 |
From: Arnaud DABY-SEESARAM <ds-ac@nanein.fr>
* gnu/packages/ocaml.scm (ocaml-ppx-deriving-yojson): New variable.
Change-Id: I3f5dfdf39c7e7d9655fc26ee6cc88a2c30485d57
---
gnu/packages/ocaml.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 12c8d5c27de..38bf7b2a7d4 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6823,6 +6823,28 @@ (define-public ocaml-ppx-derivers
as part of the same ocaml-migrate-parsetree driver.")
(license license:bsd-3)))
+(define-public ocaml-ppx-deriving-yojson
+ (package
+ (name "ocaml-ppx-deriving-yojson")
+ (version "3.6.1")
+ (home-page "https://github.com/ocaml-ppx/ppx_deriving_yojson")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append home-page "/archive/refs/tags/v" version ".tar.gz"))
+ (sha256
+ (base32 "1ds3hfcrwyhkal3y5ychzy79r0kpfvn68n492jww70rbii48nz03"))))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-yojson ocaml-result ocaml-ppx-deriving
+ ocaml-ppxlib))
+ (native-inputs (list ocaml-ounit))
+ (properties `((upstream-name . "ppx_deriving_yojson")))
+ (synopsis "JSON codec generator for OCaml")
+ (description
+ "ppx_deriving_yojson is a ppx_deriving plugin that provides a JSON codec
+ generator.")
+ (license license:expat)))
+
(define-public ocaml-cinaps
;; The commit removes the unused dependency of ocaml-ppx-jane. We need to
;; use this as we would otherwise have a dependency loop between
--
2.41.0
- [bug#64249] OCaml-related updates, Arnaud Daby-Seesaram, 2023/12/24
- [bug#64249] OCaml-related updates, Julien Lepiller, 2023/12/24
- [bug#64249] [PATCH 2/9] gnu: Add ocaml-ppx-deriving-yojson.,
ds-ac <=
- [bug#64249] [PATCH 4/9] gnu: Add ocaml-junit-alcotest, ds-ac, 2023/12/24
- [bug#64249] [PATCH 9/9] gnu: update frama-c to 27.1-Cobalt., ds-ac, 2023/12/24
- [bug#64249] [PATCH 7/9] gnu: Add ocaml-ppx-import., ds-ac, 2023/12/24
- [bug#64249] [PATCH 0/9] Fix frama-c, ds-ac, 2023/12/24
- [bug#64249] [PATCH 5/9] gnu: Add ocaml-yaml, ds-ac, 2023/12/24
- [bug#64249] [PATCH 8/9] gnu: Add ocaml-dune-site., ds-ac, 2023/12/24
- [bug#64249] [PATCH 6/9] gnu: Add ocaml-ppx-deriving-yaml., ds-ac, 2023/12/24
- [bug#64249] [PATCH 3/9] gnu: Add ocaml-junit, ds-ac, 2023/12/24
- [bug#64249] [PATCH 1/9] gnu: why3: Update to 1.6.0., ds-ac, 2023/12/24