From patchwork Thu Nov 16 19:15:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 56522 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 8C79A27BBE2; Thu, 16 Nov 2023 19:17:38 +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 2C02E27BBEA for ; Thu, 16 Nov 2023 19:17:37 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3hrS-0003ka-Ls; Thu, 16 Nov 2023 14:17:10 -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 1r3hrR-0003kB-L9 for guix-patches@gnu.org; Thu, 16 Nov 2023 14:17:09 -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 1r3hrR-0003Eq-9Q for guix-patches@gnu.org; Thu, 16 Nov 2023 14:17:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r3hrL-0003la-Mh; Thu, 16 Nov 2023 14:17:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67019] [PATCH v2 04/16] gnu: Add ocaml-wtf8. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: julien@lepiller.eu, pukkamustard@posteo.net, guix-patches@gnu.org Resent-Date: Thu, 16 Nov 2023 19:17: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 , Liliana Marie Prikler , Julien Lepiller , pukkamustard X-Debbugs-Original-Xcc: Julien Lepiller , pukkamustard Received: via spool by 67019-submit@debbugs.gnu.org id=B67019.170016220814389 (code B ref 67019); Thu, 16 Nov 2023 19:17:03 +0000 Received: (at 67019) by debbugs.gnu.org; 16 Nov 2023 19:16:48 +0000 Received: from localhost ([127.0.0.1]:44562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3hr5-0003jk-7A for submit@debbugs.gnu.org; Thu, 16 Nov 2023 14:16:48 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:60411) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3hr1-0003iG-BP for 67019@debbugs.gnu.org; Thu, 16 Nov 2023 14:16:44 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 4DCED5C0176; Thu, 16 Nov 2023 14:16:38 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 16 Nov 2023 14:16:38 -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=fm1; t=1700162198; x=1700248598; bh=Q1 91TlGayI1CczNXYQ0pMNiFs4iKQfeHjS5vyhHe1G4=; b=INNclnv8qydo8SI4Bc ZALb3zxgUmC+Ilc9/ELq0Bs+0jxmpVEj2k4zo76PFu0hR6SN/BpdD6UC64Usfv8j alHuNAzope6nuIWxVGExrZY5GzeE2m1z+/WhAK9zAPiYbaTJyBxoB3dFTPylibPd Nq1dNwGOo+U2KMCMH/DIALRDGYm8900uZHHDnoCh4F8vjcM4tELAx0BhYdb8Jje9 3xJtIYZUx1M40+rJ5xEwL6RX7IuKds3nzptJGGZWtGRpfI5ObhpmZNSjuwNl5I/M LYRhchIahniU6UBTbzoagkq7SSHiAltHFmrm7Z7eGG3p1TDXxIWeLF7qIDrMXaeN /RyA== 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=fm1; t= 1700162198; x=1700248598; bh=Q191TlGayI1CczNXYQ0pMNiFs4iKQfeHjS5 vyhHe1G4=; b=tWs9fDPR7jAdHtOu8svq1FUT+vip3M2QTlaPnpxiRdY4RxxQJca Q0jCLdQrKnP2hwolmn7Up0xkbBXODDDrx//yqbiEyOkfsGiqePv38msaKS4N217N H69NRxwr0fZRn2sSbDkZlCWu4TggTlgiPHNj1Lu/1LBOAq4mdeDb1XRkb6cSWHv4 2bRQDIToF/7/yV7sXUcX8Wlmn6taLfUZWBoUaIGOk7yqTba4SP3xvvCx38QvuLso GERMvmUtRC3Podj3UsHjDpAmZNvicIz81sA0aE5LMITO+fK2x54meRKFtFwslsbW oMXjhgszN6R9AAwQsy5Ai6nfl6EbFCobDFg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudefkedguddvtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheprfhh ihhlihhpucfotgfirhgrthhhuceophhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrd gtohhmqeenucggtffrrghtthgvrhhnpeeggfeugfeftddvjefhtedtuedvudehheegvedv kefgleevffeftdfhhfekteegffenucffohhmrghinhepghhithhhuhgsrdgtohhmnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhhihhlihhp sehphhhilhhiphhmtghgrhgrthhhrdgtohhm X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Nov 2023 14:16:37 -0500 (EST) From: Philip McGrath Date: Thu, 16 Nov 2023 14:15:42 -0500 Message-ID: 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")