[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/34: gnu: Add ocaml-ppx-deriving-yojson.
From: |
guix-commits |
Subject: |
20/34: gnu: Add ocaml-ppx-deriving-yojson. |
Date: |
Thu, 8 Feb 2024 17:25:45 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit ccd5965ed04ff16309b4561815b5604c33e71291
Author: Arnaud DABY-SEESARAM <ds-ac@nanein.fr>
AuthorDate: Wed Jan 10 08:43:21 2024 +0100
gnu: Add ocaml-ppx-deriving-yojson.
* gnu/packages/ocaml.scm (ocaml-ppx-deriving-yojson): New variable.
Change-Id: I3f5dfdf39c7e7d9655fc26ee6cc88a2c30485d57
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
gnu/packages/ocaml.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index ba50d4f35c..700e1edfb0 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -29,6 +29,7 @@
;;; Copyright © 2022 Garek Dyszel <garekdyszel@disroot.org>
;;; Copyright © 2023 Csepp <raingloom@riseup.net>
;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
+;;; Copyright © 2023 Arnaud DABY-SEESARAM <ds-ac@nanein.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -6211,6 +6212,34 @@ ppx_deriving and ppx_type_conv to inter-operate
gracefully when linked
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.7.0")
+ (home-page "https://github.com/ocaml-ppx/ppx_deriving_yojson")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1nazam6zlzm9ngyyr1q7s1vmw162fnrvsn8r6bsn5lnpaygv28ly"))))
+ (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
- 05/34: gnu: Update coq-mathcomp to 1.17.0., (continued)
- 05/34: gnu: Update coq-mathcomp to 1.17.0., guix-commits, 2024/02/08
- 03/34: gnu: Update coq-gappa to 1.5.3., guix-commits, 2024/02/08
- 08/34: gnu: Update coq-interval to 4.8.0., guix-commits, 2024/02/08
- 09/34: gnu: coq: Update to 8.17.1., guix-commits, 2024/02/08
- 13/34: gnu: ocaml-sexplib: Update to 0.16.0., guix-commits, 2024/02/08
- 14/34: gnu: ocaml-ppxlib: Update to 0.28., guix-commits, 2024/02/08
- 16/34: gnu: ocaml-bin-prot: Update to 0.16.0., guix-commits, 2024/02/08
- 19/34: gnu: ocaml-ppx-bench: Update to 0.16.0., guix-commits, 2024/02/08
- 23/34: gnu: Add ocaml-yaml., guix-commits, 2024/02/08
- 27/34: gnu: Add dune-ordering., guix-commits, 2024/02/08
- 20/34: gnu: Add ocaml-ppx-deriving-yojson.,
guix-commits <=
- 22/34: gnu: Add ocaml-junit-alcotest., guix-commits, 2024/02/08
- 32/34: gnu: frama-c: Update to 27.1., guix-commits, 2024/02/08
- 33/34: gnu: ocaml-base64: Update to 3.5.1., guix-commits, 2024/02/08
- 34/34: gnu: opam: Update to 2.1.5., guix-commits, 2024/02/08
- 25/34: gnu: Add ocaml-ppx-import., guix-commits, 2024/02/08
- 06/34: gnu: Update coq-autosubst to 1.8., guix-commits, 2024/02/08
- 02/34: gnu: Update coq-flocq to 4.1.1., guix-commits, 2024/02/08
- 07/34: gnu: Update coq-stdpp to 1.8.0., guix-commits, 2024/02/08
- 10/34: gnu: dune-bootstrap: Update to 3.11.0., guix-commits, 2024/02/08
- 11/34: gnu: opam: Split build into smaller sub-packages., guix-commits, 2024/02/08