From patchwork Thu Nov 9 16:26:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 56142 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 A71BF27BBEA; Thu, 9 Nov 2023 16:28:48 +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 970B027BBE2 for ; Thu, 9 Nov 2023 16:28:47 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r17tL-00084W-Vx; Thu, 09 Nov 2023 11:28:28 -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 1r17tK-00083Q-VC for guix-patches@gnu.org; Thu, 09 Nov 2023 11:28:26 -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 1r17tK-0006aC-Ms for guix-patches@gnu.org; Thu, 09 Nov 2023 11:28:26 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r17tv-0004fS-Qr; Thu, 09 Nov 2023 11:29:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67019] [PATCH 04/16] gnu: Add ocaml-wtf8. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: philip@philipmcgrath.com, julien@lepiller.eu, pukkamustard@posteo.net, guix-patches@gnu.org Resent-Date: Thu, 09 Nov 2023 16:29:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67019 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67019@debbugs.gnu.org Cc: Philip McGrath , Philip McGrath , Julien Lepiller , pukkamustard X-Debbugs-Original-Xcc: Philip McGrath , Julien Lepiller , pukkamustard Received: via spool by 67019-submit@debbugs.gnu.org id=B67019.169954729117768 (code B ref 67019); Thu, 09 Nov 2023 16:29:03 +0000 Received: (at 67019) by debbugs.gnu.org; 9 Nov 2023 16:28:11 +0000 Received: from localhost ([127.0.0.1]:48517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r17t4-0004cU-Kp for submit@debbugs.gnu.org; Thu, 09 Nov 2023 11:28:11 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:36915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r17ss-0004Zo-FX for 67019@debbugs.gnu.org; Thu, 09 Nov 2023 11:28:04 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 7CE123200ADA; Thu, 9 Nov 2023 11:27:13 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 09 Nov 2023 11:27:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1699547233; x=1699633633; bh=Q1 91TlGayI1CczNXYQ0pMNiFs4iKQfeHjS5vyhHe1G4=; b=L4ind+pjm62v0Mv3Ta JBHgYEMCNqhBWqS1lB2sNDjIhRZ+633x6ipw9kATGifHW2AUyzfPUvlaUbgaPtFw XF424KjisShCb1aVL0x+LVuz1xRqq655rFfS4SMqkSJPSvQTuHB1ZDLIV3O3T2w7 RTwNhF2zKozHs+QF7llWW6AnWUkgcNFEJhWH02S3v4JcMtHwMTrMrvXz8mgVAjue TvRoeLeq0I6hri9EQlY2p1k9yArqMoy+qNrU86Gg0384y5Xu+5Sa4xF5L2MoFvPt sfdfTy4llCafIDd7WL+X5FDdaCDh6FPY2gmQoh7Asiy0EAUOmhjlGz7VJKImkwqs F8mA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1699547233; x=1699633633; bh=Q191TlGayI1CczNXYQ0pMNiFs4iKQfeHjS5 vyhHe1G4=; b=gU8/kcEyzCWprSXrOdQhSC0kNEsk96iCe21wex3k00mZhvpFTOQ +rUcIV1YffdM0PGMUfWaYjEQV7q+yXnjlmGZAuTN6/75j1XfMaz8uKAKpXpuF+Yw ydnzWefNXNyw01YisPG3oqYa0fy9yVbb5CqPLJjhu94e+aVXyhmySrz3HGduL0VM +o/Hmx/064aFHsM83A5fx2Y/DWna/pRoIu8w2Zxk36s9g8HHL8tola5nYgkWn0c0 YxJbo4Qrn2GZ/aiq56uF/9mx5FsqeD1NJkwW+GVzuSBjenU0/c12bsZTgMMXftai xFEQGbqqdJzzB5fGzg8NHtCriKq9Nw4NJZw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddvuddgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesth ekredtredtjeenucfhrhhomheprfhhihhlihhpucfotgfirhgrthhhuceophhhihhlihhp sehphhhilhhiphhmtghgrhgrthhhrdgtohhmqeenucggtffrrghtthgvrhhnpeeggfeugf eftddvjefhtedtuedvudehheegvedvkefgleevffeftdfhhfekteegffenucffohhmrghi nhepghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepphhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrdgtohhm X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 9 Nov 2023 11:27:12 -0500 (EST) From: Philip McGrath Date: Thu, 9 Nov 2023 11:26:26 -0500 Message-ID: <065050593a0d2dc5d2743ed0b8f1af728f9bc18f.1699540553.git.philip@philipmcgrath.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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-wtf8): 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 7993dbaa73..50b0d1ddb7 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 Philip McGrath ;;; ;;; This file is part of GNU Guix. ;;; @@ -3655,6 +3656,30 @@ (define-public ocaml-uutf string values and to directly encode characters in OCaml Buffer.t values.") (license license:isc))) +(define-public ocaml-wtf8 + (package + (name "ocaml-wtf8") + (version "1.0.2") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/flow/ocaml-wtf8/releases/download/" + "v" version "/wtf8-v" version ".tbz")) + (sha256 + (base32 + "09ygcxxd5warkdzz17rgpidrd0pg14cy2svvnvy1hna080lzg7vp")))) + (build-system dune-build-system) + (home-page "https://github.com/flow/ocaml-wtf8") + (synopsis "OCaml encoder and decoder for @acronym{WTF-8}") + (description + "This library provides an OCaml encoder and decoder for @acronym{WTF-8, +Wobbly Transformation Format---8 bit}, a superset of UTF-8 that allows +unpaired surrogates while preserving the other well-formedness constraints of +UTF-8. This format is useful for interoperating with systems that use +potentially ill-formed UTF-16, notably including ECMAScript strings and +Windows filesystems.") + (license license:expat))) + (define-public ocaml-uunf (package (name "ocaml-uunf")