From patchwork Wed Jan 10 07:43:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 58745 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 ABD7F27BBE2; Wed, 10 Jan 2024 07:46:23 +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=ham 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 98DDB27BBEA for ; Wed, 10 Jan 2024 07:46:22 +0000 (GMT) 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 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-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")