From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0P2ZMyBLnmXxhQEAkFu2QA (envelope-from ) for ; Wed, 10 Jan 2024 08:45:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id yPt0MCBLnmWaTgEA62LTzQ (envelope-from ) for ; Wed, 10 Jan 2024 08:45:36 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=K6BXoCpL; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704872736; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=fbEzQ9638Wwig8TG9KwJ81kWFiPv1Rp+LnlpZ65Ffa4=; b=oV/vn7ADd5ouZq10ny5XKinQt4zjNsR9+N+QDDnZ7FfL5FE1xmMjbxVnYfIg7NxTowRmLE 2qVGCydT/VfqNu+bFxYJ5GJebjFXgh24Y6tq2II4NRg3n9IkKuTK0bWPsoXY0MASy9nMnT 6GSOjzw4CKwuBdGJ5Akc7UhMcjTaBbw4EUQmL6sw3JEe+3JPteoXbvJMbuXXh4nLXTFyzN Lh9WPrf3ZR22DYAdEFytKVDz6hUiby7Qy5mSNYjyAVRGYMOTutU2+6lekXrmP0tBvztqbP 6vjNQDc8At5un29+NK5IqJUskSCqKEEy515ibrsv9NZN2RAXfhRp2xt17pw1Eg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704872736; a=rsa-sha256; cv=none; b=ro4058lQzZhaBt6sMtwyyWEo11g1dE3R8+HST0zMaWZXw0oPo6eydaH8bWLY2CH/2ER7bJ +9D7lIgggRF6DkSukSl/PfSGJlf5v51z4JhDi1u/jXkUUfS7hY3XQUHVG+OJJEGBL9U2iz 2XCM//RmokOG4ar3670ZF9bHll/6XQyVu7cg+6RZsYoCXxhyOodDhlAFcDHG+V4+aWodEh A+7bK8tsP2aM4zOGSn8cgoNXlcpNlximU5eERgAYRbtha9pP4FLL1yE/OKq2iSOMO6jFNk yO2usHx1wYt5q+hff8dM5/RTffH/LUsMspsvOKrK13QNVUObyPejbJrK7KHEyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=K6BXoCpL; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 950D420611 for ; Wed, 10 Jan 2024 08:45:36 +0100 (CET) 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.21 X-Spam-Score: -4.21 X-Migadu-Queue-Id: 950D420611 X-Migadu-Scanner: mx12.migadu.com X-TUID: FpH/glIX/grh 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 -- 2.41.0