From patchwork Wed Jan 10 07:43:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 58737 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5696B27BBE2; Wed, 10 Jan 2024 07:45:37 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7EE8A27BBE9 for ; Wed, 10 Jan 2024 07:45:36 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNTGs-0002D9-DW; Wed, 10 Jan 2024 02:45:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNTGm-000287-Tr for guix-patches@gnu.org; Wed, 10 Jan 2024 02:45:00 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rNTGm-00043V-Jf for guix-patches@gnu.org; Wed, 10 Jan 2024 02:45:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rNTGt-00006o-SR for guix-patches@gnu.org; Wed, 10 Jan 2024 02:45:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#64249] [PATCH v9 20/34] gnu: Add ocaml-ppx-deriving-yojson. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 Jan 2024 07:45:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64249 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64249@debbugs.gnu.org Cc: Arnaud DABY-SEESARAM Received: via spool by 64249-submit@debbugs.gnu.org id=B64249.170487265331094 (code B ref 64249); Wed, 10 Jan 2024 07:45:07 +0000 Received: (at 64249) by debbugs.gnu.org; 10 Jan 2024 07:44:13 +0000 Received: from localhost ([127.0.0.1]:41722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNTG1-00085L-1k for submit@debbugs.gnu.org; Wed, 10 Jan 2024 02:44:13 -0500 Received: from lepiller.eu ([2a00:5884:8208::1]:36422 helo=hermes.lepiller.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNTFm-00080C-Sb for 64249@debbugs.gnu.org; Wed, 10 Jan 2024 02:44:00 -0500 Received: from hermes.lepiller.eu (localhost [127.0.0.1]) by hermes.lepiller.eu (OpenSMTPD) with ESMTP id a1ebd9ce; Wed, 10 Jan 2024 07:43:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :cc:subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=6/vY11pB22U0 +eYvNCj+6rqxvVFd5V9ulrGBWc6NfAE=; b=K6BXoCpLl6uUlhAAGYzHeKq4YHMj nhHQJWOQKtXG56RwJXrpJVhMYUPtgiUzpUX2Gu+9PkS8JUKn69ZMjwOV1Uif5eLh 3XudLjK5MgiK2Ed09opD0qXbmM8aCb+tHh1sIZ7rL5ks/axwxzGkOS+uXkiC7Ob3 /HdDv7kUdL+W4uucu0UbOLfNjSX66VzvCits/gOV37Fq1g1yq79EjanQTkLykPva 6w0Y2mGzh8gQOwTWRqYYmgBrTN5yyH4JXrQ5IW3gSdcrGQAjhVWdIQlUbPdVRU4Q 6GXPjPAa8ox563Io3AfD6HRNASNhMbwNoLyiafQ64aPiauNaGDvrzQclTg== Received: by hermes.lepiller.eu (OpenSMTPD) with ESMTPSA id f8ff400b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 10 Jan 2024 07:43:45 +0000 (UTC) From: Julien Lepiller Date: Wed, 10 Jan 2024 08:43:21 +0100 Message-ID: <20240110074336.24651-20-julien@lepiller.eu> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240110074336.24651-1-julien@lepiller.eu> References: <20240110074336.24651-1-julien@lepiller.eu> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Arnaud DABY-SEESARAM * gnu/packages/ocaml.scm (ocaml-ppx-deriving-yojson): New variable. Change-Id: I3f5dfdf39c7e7d9655fc26ee6cc88a2c30485d57 --- gnu/packages/ocaml.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index cba67159ac..49d6ea9f4d 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -29,6 +29,7 @@ ;;; Copyright © 2022 Garek Dyszel ;;; Copyright © 2023 Csepp ;;; Copyright © 2023 Foundation Devices, Inc. +;;; Copyright © 2023 Arnaud DABY-SEESARAM ;;; ;;; This file is part of GNU Guix. ;;; @@ -6210,6 +6211,31 @@ (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.7.0") + (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 "1h7vz7lhvsgn6nl68g3dhhghlm884xpa1xawm6wm54pjc57gc6xx")))) + (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