From patchwork Wed Jan 10 07:43:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 58741 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 A0CAB27BBEB; Wed, 10 Jan 2024 07:46:17 +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 20CCB27BBE2 for ; Wed, 10 Jan 2024 07:46:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNTGo-00029l-1j; Wed, 10 Jan 2024 02:45:02 -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 1rNTGl-00026G-DU for guix-patches@gnu.org; Wed, 10 Jan 2024 02:44:59 -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 1rNTGj-0003zq-UR for guix-patches@gnu.org; Wed, 10 Jan 2024 02:44:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rNTGr-0008Od-75 for guix-patches@gnu.org; Wed, 10 Jan 2024 02:45:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#64249] [PATCH v9 15/34] gnu: Add ocaml-ppx-stable-witness. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 Jan 2024 07:45:05 +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 Received: via spool by 64249-submit@debbugs.gnu.org id=B64249.170487265031049 (code B ref 64249); Wed, 10 Jan 2024 07:45:05 +0000 Received: (at 64249) by debbugs.gnu.org; 10 Jan 2024 07:44:10 +0000 Received: from localhost ([127.0.0.1]:41710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNTFy-00084d-8G for submit@debbugs.gnu.org; Wed, 10 Jan 2024 02:44:10 -0500 Received: from lepiller.eu ([89.234.186.109]:59302 helo=hermes.lepiller.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNTFl-0007zA-Hv for 64249@debbugs.gnu.org; Wed, 10 Jan 2024 02:43:58 -0500 Received: from hermes.lepiller.eu (localhost [127.0.0.1]) by hermes.lepiller.eu (OpenSMTPD) with ESMTP id 78a1ae51 for <64249@debbugs.gnu.org>; Wed, 10 Jan 2024 07:43:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=cO2lzs70ti3ThOXjBV2qNaQ2G 1ETO1xLkf92VZITQas=; b=dS1DBrZF33PMwYHiL20Y4zWzRhZTnlCwVoNal9Y+N amlX9XKy82E6d67zKzRIKqXlrMLfxvRCPD0pXGIel44A6NH4sWdpxiCq/3OiEFs5 ijdZaNw9+t4bd9WZHx/11r/F8sNq1kO2qyYRFrDHxug2ZmqAOlTXBZC034HEa/IK NPdEgK349j5mSQSETyD98jU38Wl3fnZXqqKUG6N3UzZdP9kTOcUN3UbPJE7kP6MZ xwY10tiCC8mpMAGNxVHOw9YSJG+XsPMqe7NqjN4fg4qW5rgBEIHWjz5yOB94TbiQ V7v48WAQGFAnhWnTi32psk/94wXZmiDrbml0blAJ60g1Q== Received: by hermes.lepiller.eu (OpenSMTPD) with ESMTPSA id 463b8383 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <64249@debbugs.gnu.org>; Wed, 10 Jan 2024 07:43:44 +0000 (UTC) From: Julien Lepiller Date: Wed, 10 Jan 2024 08:43:16 +0100 Message-ID: <20240110074336.24651-15-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 * gnu/packages/ocaml.scm (ocaml-ppx-stable-witness): New variable. --- gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 56ef2abcfe..062bef401a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -6467,6 +6467,30 @@ (define-public ocaml-ppx-custom-printf string conversion.") (license license:asl2.0))) +(define-public ocaml-ppx-stable-witness + (package + (name "ocaml-ppx-stable-witness") + (version "0.16.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/janestreet/ppx_stable_witness") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ppmazy1vw0j44z1p60ln6fddz414zmyrqkpi54w6cr93giqsl2v")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-base ocaml-ppxlib)) + (properties `((upstream-name . "ppx_stable_witness"))) + (home-page "https://github.com/janestreet/ppx_stable_witness") + (synopsis "Mark a type as stable across versions") + (description "This ppx extension is used for deriving a witness that a +type is intended to be stable. In this context, stable means that the +serialization format will never change. This allows programs running at +different versions of the code to safely communicate.") + (license license:expat))) + (define-public ocaml-bin-prot (package (name "ocaml-bin-prot")