From patchwork Wed Apr 14 09:12:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: pukkamustard X-Patchwork-Id: 28503 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 8595F27BC7A; Wed, 14 Apr 2021 10:15:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E8ED227BC7D for ; Wed, 14 Apr 2021 10:15:12 +0100 (BST) Received: from localhost ([::1]:40998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWbc8-0007BP-0D for patchwork@mira.cbaines.net; Wed, 14 Apr 2021 05:15:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWbb8-0005df-Ke for guix-patches@gnu.org; Wed, 14 Apr 2021 05:14:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50234) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWbb8-00027n-B9 for guix-patches@gnu.org; Wed, 14 Apr 2021 05:14:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lWbb8-0007FZ-76 for guix-patches@gnu.org; Wed, 14 Apr 2021 05:14:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47768] [PATCH 18/37] gnu: Add ocaml-syntax-shims. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Apr 2021 09:14:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47768 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47768@debbugs.gnu.org Cc: pukkamustard Received: via spool by 47768-submit@debbugs.gnu.org id=B47768.161839163627590 (code B ref 47768); Wed, 14 Apr 2021 09:14:10 +0000 Received: (at 47768) by debbugs.gnu.org; 14 Apr 2021 09:13:56 +0000 Received: from localhost ([127.0.0.1]:33493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWbat-0007Al-RY for submit@debbugs.gnu.org; Wed, 14 Apr 2021 05:13:56 -0400 Received: from mout02.posteo.de ([185.67.36.66]:45951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWbaU-00075z-Tr for 47768@debbugs.gnu.org; Wed, 14 Apr 2021 05:13:31 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 2583A240101 for <47768@debbugs.gnu.org>; Wed, 14 Apr 2021 11:13:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1618391605; bh=BdLrVc+vM522Q9092gOEChWG6Y5r6NydCYKx9oz0seE=; h=From:To:Cc:Subject:Date:From; b=Vdr6bSYVZuhoUOzhKPpLOvYGg7Fg9fDq3uxCxBfyCi6v+XRcYDf5+xMYdl2IPTKVY wnmXgqumWSF5VDq6AR8/UPQAnspbSMIextNYkx3Rt3/ipxs26qgW2NM53FusRc9pZp nWNhSv2vWZHo1yjyxLQx1tpc5u3ZuJT70db4RZyTllTfaTa8xcD0EEaUKnkVJJUbpd qVPAh9JU3Ig9fEgjxpa9JaNXA+Xzt+n7ChgH6FyYqFFKt8MuNhS/SqisPPd3zyNofg /Io9/+LzY0UmGdU6sy8GaFll56C0ppHPt7LbXCzuOh50l7JuU/6by0YeKQibbOOtmJ PchEU27fEV54g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FKxbS3bntz9rxl; Wed, 14 Apr 2021 11:13:24 +0200 (CEST) From: pukkamustard Date: Wed, 14 Apr 2021 11:12:44 +0200 Message-Id: <20210414091303.6990-18-pukkamustard@posteo.net> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210414091303.6990-1-pukkamustard@posteo.net> References: <20210414091303.6990-1-pukkamustard@posteo.net> 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ocaml.scm (ocaml-syntax-shims): New variable. --- gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 0658b7ef68..e5b304fa81 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -6615,3 +6615,28 @@ exposed the intrinsics properly, the compiler doesn't have any fast blits between Bigstrings and other string-like types. @code{bigstringaf} provides these missing pieces.") (license license:bsd-3))) + +(define-public ocaml-syntax-shims + (package + (name "ocaml-syntax-shims") + (version "1.0.0") + (home-page "https://github.com/ocaml-ppx/ocaml-syntax-shims") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0l1i8z95qgb0lxlrv3yb5nkp391hqsiyi4r91p12k3xmggqixagf")))) + (build-system dune-build-system) + (properties + `((upstream-name . "ocaml-syntax-shims"))) + (synopsis + "Backport new syntax to older OCaml versions") + (description + "This packages backports new features of the language to older +compilers, such as let+.") + (license license:expat)))