From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id aLjGNk5LnmWv9gAAkFu2QA (envelope-from ) for ; Wed, 10 Jan 2024 08:46:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id YI0oME5LnmVhTwAAqHPOHw (envelope-from ) for ; Wed, 10 Jan 2024 08:46:22 +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="P8hHWP/o"; 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=1704872782; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=ULu0nqrpBNvzq1HM+eWvCtlNvO0IBFk1Wc3A+amhiu0=; b=AaM2aFom4aYjpYPTdr4n/u99eQ/E3gkd82Z1MlRNYA9U0OYZFntcx9ucxlZ77G8Oz8j5W/ S3eHP3CLT0SDT2ZE/E7438P0WpZ+Ry46E60qBa+9NttLsAmUic7IaouKb+QuZWDsRgrdU0 EtCPPMnU2Xq45rJPB4rVEc+lAy/WdmTatqsasYXrqb5CiOWdUZAPqfMZZnD5KijYzIJMWV j0kRGaSighA1/vOrp88v718IHrMXtijY++M8cYe/CimkNnMGa/OFqv1Oj/jMG7Xt0IidNU R3loU4y8gpIYLVagRBAn8KS4MwxEKFEOy5s+Og2vlfczsRrwlWRzOg7J8woAsA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704872782; a=rsa-sha256; cv=none; b=YnhjrwMjWdE9nlqOPBEn7G2fQRY+9opbH2i5DT78PltQ+8jLltj/sWW2ZODPhoeYzUposQ EyUExHuWVVrPQrYxBodK5tI47VaDNtGboOoOOnZs7s1P11wGc+0aib5mCLpokiR4L+Psna I2x8MyBwYLl0XxPicgNKeQWE2cYenYGdh0pD6s4ztZAxj7nT8BXQ9KZOJJ1z93Cm8GIY4g xUH+h8vtzTl0o6f4PSvEqgmuEk09ri74fgs72b0ikzlC/I7ExHprxkUrwffwd9k27ArNq0 ktrGVehyvjenJ0co7/f/alrDQZdE9m8RmClnKpAjDprSgVMyhm59nv2kxgBPOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b="P8hHWP/o"; 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 A2AD65EF69 for ; Wed, 10 Jan 2024 08:46:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNTHP-0002MX-8J; Wed, 10 Jan 2024 02:45:41 -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 1rNTGo-0002AR-Ii for guix-patches@gnu.org; Wed, 10 Jan 2024 02:45:02 -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 1rNTGo-00044t-5f for guix-patches@gnu.org; Wed, 10 Jan 2024 02:45:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rNTGv-0000Dq-EZ for guix-patches@gnu.org; Wed, 10 Jan 2024 02:45:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#64249] [PATCH v9 24/34] gnu: Add ocaml-ppx-deriving-yaml. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 Jan 2024 07:45:09 +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.170487265531123 (code B ref 64249); Wed, 10 Jan 2024 07:45:09 +0000 Received: (at 64249) by debbugs.gnu.org; 10 Jan 2024 07:44:15 +0000 Received: from localhost ([127.0.0.1]:41730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNTG2-00085t-J6 for submit@debbugs.gnu.org; Wed, 10 Jan 2024 02:44:14 -0500 Received: from lepiller.eu ([89.234.186.109]:46418 helo=hermes.lepiller.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNTFn-000810-QN 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 0a849b96; Wed, 10 Jan 2024 07:43:47 +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-transfer-encoding; s=dkim; bh=cayqrsfjff0j4MteWoiqGRMwE R6bJgI7coDUhxoB0lM=; b=P8hHWP/oFRBguwMh2QVlauXX3zNupbGPiVpyKv+Y7 l92OsRCN/meYJwGjI+oePkumv5RdO+ygmn4OWpQICBf5fQGJrP58OiskhBUMnsji u6F7hXNPKDOUJi5DuXQOjOatfUG7GDuUFv1kuoST9Hdlbqh3x2F+yFjyi4yZHO5L ZPhtlZPTNRoqUDO/17pkXHQN0BUVX42lkzbR2CtxQiX2nuEEgU3RN9E33n3M+q+J rbyMBYfDE8B/PnCLrnOKguyV0ptUispCBlacsKDoE27TXtjO0JvIzXpQrUChjSPo GTPgNrw3eNoxV8jaBGtsCOyrpraL3jEPNCfN/ewebxj9A== Received: by hermes.lepiller.eu (OpenSMTPD) with ESMTPSA id 4e7fe921 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 10 Jan 2024 07:43:46 +0000 (UTC) From: Julien Lepiller Date: Wed, 10 Jan 2024 08:43:25 +0100 Message-ID: <20240110074336.24651-24-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-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: -3.69 X-Spam-Score: -3.69 X-Migadu-Queue-Id: A2AD65EF69 X-Migadu-Scanner: mx11.migadu.com X-TUID: pGzM0uw3pzRv From: Arnaud DABY-SEESARAM * gnu/packages/ocaml.scm (ocaml-ppx-deriving-yaml): New variable. Change-Id: I2677ce5b630b77abdec7743cd25c4193ca7b351e --- gnu/packages/ocaml.scm | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 3e7f99407a..2a513bf149 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2621,10 +2621,10 @@ (define-public ocaml-yaml (method git-fetch) (uri (git-reference (url home-page) - (commit version))) + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "054ca6071bfkdbm5vlmnk6ic43561xl9igv87zgkbq4qry16a7s7")))) + (base32 "1m0i9qdazmziswfw1bz4m1x9mlzqyv336vbrss0c21am4im9n6k6")))) (build-system dune-build-system) (propagated-inputs (list ocaml-ppx-sexp-conv ocaml-ctypes ocaml-bos)) (native-inputs (list ocaml-fmt @@ -2644,6 +2644,31 @@ (define-public ocaml-yaml layer.") (license license:isc))) +(define-public ocaml-ppx-deriving-yaml + (package + (name "ocaml-ppx-deriving-yaml") + (version "0.2.1") + (home-page "https://github.com/patricoferris/ppx_deriving_yaml") + (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 "1cxcqgvyl4ykyl86mf2d4ka6frnq51m1yqy0z5v6vdxkixllf9jd")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-ppxlib ocaml-ppx-deriving ocaml-yaml + ocaml-odoc)) + (native-inputs (list ocaml-alcotest ocaml-bos ocaml-mdx ocaml-ezjsonm)) + (properties `((upstream-name . "ppx_deriving_yaml"))) + (synopsis "Yaml PPX Deriver") + (description + "This package contains @code{deriving} conversion functions to and from +yaml for OCaml types.") + (license license:isc))) + (define-public ocaml-parmap (package (name "ocaml-parmap") -- 2.41.0