From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cNdVK9iXtmCEBQEAgWs5BA (envelope-from ) for ; Tue, 01 Jun 2021 22:26:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GKbKJtiXtmDrbQAAbx9fmQ (envelope-from ) for ; Tue, 01 Jun 2021 20:26:00 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4DB7F24B02 for ; Tue, 1 Jun 2021 22:26:00 +0200 (CEST) Received: from localhost ([::1]:58360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loAxb-0001hW-Ai for larch@yhetil.org; Tue, 01 Jun 2021 16:25:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loAwm-0007vQ-1S for guix-patches@gnu.org; Tue, 01 Jun 2021 16:25:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54551) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loAwl-0000BZ-Pv for guix-patches@gnu.org; Tue, 01 Jun 2021 16:25:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1loAwl-0006u5-Mf for guix-patches@gnu.org; Tue, 01 Jun 2021 16:25:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47768] [PATCH v3 13/42] gnu: Add ocaml-uunf. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Jun 2021 20:25:07 +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: Xinglu Chen Cc: pukkamustard , 47768@debbugs.gnu.org Received: via spool by 47768-submit@debbugs.gnu.org id=B47768.162257909126331 (code B ref 47768); Tue, 01 Jun 2021 20:25:07 +0000 Received: (at 47768) by debbugs.gnu.org; 1 Jun 2021 20:24:51 +0000 Received: from localhost ([127.0.0.1]:37825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loAwU-0006qa-IY for submit@debbugs.gnu.org; Tue, 01 Jun 2021 16:24:50 -0400 Received: from mout01.posteo.de ([185.67.36.65]:59007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loAwS-0006pv-R7 for 47768@debbugs.gnu.org; Tue, 01 Jun 2021 16:24:49 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 4E814240026 for <47768@debbugs.gnu.org>; Tue, 1 Jun 2021 22:24:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1622579083; bh=ri2hZA5/ghI/2Yee7ac3XACxjmaJcKfdyemNLyWH1vo=; h=From:To:Cc:Subject:Date:From; b=heCBoC1UUFV10ODn3jLE6CiXcl6h78TnmQFHvTUWzkQAQIE+2FSaEK2UZFs3hnPUN islxH1U/sRo7nLOMOa77RcmirYkzwdxbFFPpBK+YSvPbuXC/S998ABrF1c277DUO9T MI8wx6YgoPvN+yIpuqyM1bzwnjFgIeipVUsTlmWRFd17ptcD8n9tKDiyxri/aSwf3F +AhYKfNGwCx4Eh8Vx/hl2VdA9TBUApZQgdKUJtbiC6PFt5IRaXuOTySaZtcToTL7+i xyz7R8OjXIxO6WF+Q2c4OsMTTyBFaMyPNPJa07LAEDvgHO947snm+twG/wugzsNl3Y nUNaAOTZa/vmw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FvkCs1h6zz9rxF; Tue, 1 Jun 2021 22:24:41 +0200 (CEST) From: pukkamustard Date: Tue, 1 Jun 2021 20:22:56 +0000 Message-Id: <20210601202325.8777-14-pukkamustard@posteo.net> In-Reply-To: <87lf82hasx.fsf@yoctocell.xyz> References: <87lf82hasx.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622579160; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QI866eKw2gnmcPbDuoqsLos9+p91EstM2RUK3fq73rU=; b=rzGoiIYUv09U+FIdsc8I24AW/SIvQWu7iu3jAl7J2SPAEPivu9thZrJZMlrguZc95zTakW d74XapaBFe8NKD4tHG07oAKFQvuVnTgihA5JJ+210/qkpqEtwubuME4RoHVU2sFsx0PlMB OAlvMrHbwNFPH7Ub8QbQutlM/Po7W2E36KqTw/OdhML7kB/zrGTL0InYujdjq0BBZoGmi+ JDyLUObygkgcvNTXYePlozTEpaAxMxGKHjq3D0Q0vNdAmxG2FnL90074HcPVcE5hYH/KK3 pkpK7dv9e/KcLZbcKLZQo0TZ+RyHLzXf/KMUjXiuISub9O3F6vUJLSRToGj93w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622579160; a=rsa-sha256; cv=none; b=aH9zdveEmZ7BHGYlTqOnWzmqIN5SILIqWNgSocl/FWErOah6hnncwYnS9uIsEYDJQ9/0x3 IrVVP/Ei1knrgafHyy6Ko3N2dWj9D8zb8/RJEoLQufUOe6NCtclyLtyr/n264h7WFcfF6U PbVvFASKF8vu1PFyG7DS8LJ4/sDJJBUrGO96O8JuZyzsOcaSboFjQCIlX6PYyVuaalkOdG p+rK9IV3I+lgW3ihjSxhkVBDfaxS0FEKEZ1XRDpPvw7IwHaGUvqWnhRdjyAnICirmxnIi7 d4mBFx4qWoAtgCgiJQCr1E4MG5+PUVSd6cfKXfJ63VnxsWC3IfywPxOMdmKe9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=heCBoC1U; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=heCBoC1U; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4DB7F24B02 X-Spam-Score: 3.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: ipF2ngyZHoG/ * gnu/packages/ocaml.scm (ocaml-uunf): New variable. --- gnu/packages/ocaml.scm | 45 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 605567b996..0e9e9b8084 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2708,6 +2708,51 @@ Functions are also provided to fold over the characters of UTF encoded OCaml string values and to directly encode characters in OCaml Buffer.t values.") (license license:isc))) +(define-public ocaml-uunf + (package + (name "ocaml-uunf") + (version "13.0.0") + (source + (origin + (method url-fetch) + (uri "https://erratique.ch/software/uunf/releases/uunf-13.0.0.tbz") + (sha256 + (base32 + "1qci04nkp24kdls1z4s8kz5dzgky4nwd5r8345nwdrgwmxhw7ksm")))) + (build-system ocaml-build-system) + (arguments + `(#:build-flags (list "build" "--tests" "true") + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'check 'check-data + (lambda* (#:key inputs #:allow-other-keys) + (copy-file (assoc-ref inputs "NormalizationTest.txt") + "test/NormalizationTest.txt") + #t))))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild) + ("opam" ,opam) + ("topkg" ,ocaml-topkg) + ;; Test data is otherwise downloaded wit curl + ("NormalizationTest.txt" + ,(origin + (method url-fetch) + (uri (string-append "https://www.unicode.org/Public/" + version + "/ucd/NormalizationTest.txt")) + (sha256 + (base32 "07g0ya4f6zfzvpp24ccxkb2yq568kh83gls85rjl950nv5fya3nn")))))) + (propagated-inputs `(("ocaml-uutf" ,ocaml-uutf))) + (home-page "https://erratique.ch/software/uunf") + (synopsis "Unicode text normalization for OCaml") + (description + "Uunf is an OCaml library for normalizing Unicode text. It supports all +Unicode normalization forms. The library is independent from any +IO mechanism or Unicode text data structure and it can process text +without a complete in-memory representation.") + (license license:isc))) + (define-public ocaml-jsonm (package (name "ocaml-jsonm") -- 2.31.1