From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gMaxOVY0nWDKGAEAgWs5BA (envelope-from ) for ; Thu, 13 May 2021 16:14:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QBFlNVY0nWC8LAAA1q6Kng (envelope-from ) for ; Thu, 13 May 2021 14:14:46 +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 8E16016764 for ; Thu, 13 May 2021 16:14:46 +0200 (CEST) Received: from localhost ([::1]:39024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhC6v-0003VR-Ls for larch@yhetil.org; Thu, 13 May 2021 10:14:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhC4I-0007Ca-N1 for guix-patches@gnu.org; Thu, 13 May 2021 10:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhC4I-0008Qk-F0 for guix-patches@gnu.org; Thu, 13 May 2021 10:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhC4I-0004TB-Ad for guix-patches@gnu.org; Thu, 13 May 2021 10:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48325] [PATCH v3 1/5] gnu: Add utf8proc-2.6.1. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 May 2021 14:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48325 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48325@debbugs.gnu.org Cc: zimon.toutoune@gmail.com, Jean-Baptiste Volatier , =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Received: via spool by 48325-submit@debbugs.gnu.org id=B48325.162091508017073 (code B ref 48325); Thu, 13 May 2021 14:12:02 +0000 Received: (at 48325) by debbugs.gnu.org; 13 May 2021 14:11:20 +0000 Received: from localhost ([127.0.0.1]:43995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhC3c-0004RI-Al for submit@debbugs.gnu.org; Thu, 13 May 2021 10:11:20 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:39591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhC3a-0004Qu-O4 for 48325@debbugs.gnu.org; Thu, 13 May 2021 10:11:19 -0400 Received: by mail-wm1-f48.google.com with SMTP id l18-20020a1ced120000b029014c1adff1edso1423171wmh.4 for <48325@debbugs.gnu.org>; Thu, 13 May 2021 07:11:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eKRYLJkDGAf2n3SZR/uR+uoC+eeNFA+zggUSZeC0qFk=; b=mWfdBEgXIdEj8z8SAsEztRxMJBwAIrGUPLW/aGrQn0CYxwPxJkSuIvXHMSRjCjn85R O39WGs+K8TclfejEiMVpc/sC3iWBsVQgLWcbn3BXYgxD9fsaiVJ4GyH7lVNP8HrMA86j 0ArOO2yKTVvV+TAIXPLMKEx2QccDj36dK+B3m4vM2oOxhoTOa6iwXqJCc4bmGT2OgXT6 ZQoukJ1o9tTXEmxLbOcQQSLljEkk/4D3j1T8FqOpDNLuEI7ZYkFpW1OA5vgSarCAMOvs ILjbaysjRkoOFzupmkRDjkcT92PRWORaedSIEXed1rQUZvRTQRa4zWpGUBhEVl0oxO6D 1eLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eKRYLJkDGAf2n3SZR/uR+uoC+eeNFA+zggUSZeC0qFk=; b=FP7/TuVEjZEuF61h4aL3zuduWthfa0VHpz3QbvXqyDJnp0OKzTkK2RHu+wI22UY1kw 8VbFNqf9S1jRK7+pf5S/qyto9ZCGpbMPAdP6Spg35iNy/XkyXXUjCTnLuP19Swbl3Yg+ 5AgUwm+GZjFCsokn7weUMT9QOuMCxemThKbWUgy56UckDrpdgEsDi2a8yGyWCrw99W2t Wgqw6lKGhUzgBGzbkgYnby+SukNQScUxuZ/WeaL2S1nBhCRNO6gV9TLKrRcJpR92Q16f 3/UtShcQCEy6MX01e3JkfCPzVDzQyOFlxnN89TdVeX4BISqm1oyEtCw2tXI/0+yyv2VN T4tg== X-Gm-Message-State: AOAM531511clqx03fGCGKtIW3YwTQaT01gl2Aa7IkFhpi4OSguo8DLwH UarKpIIgbssvLAQDY1R3++1WbPBldyA= X-Google-Smtp-Source: ABdhPJyl7h/55AJYpLLEZbvgv4HxfFne4sFx5Egnldul+WPRgYydbV/ucd84yfloOoI/IwmPOsgI0A== X-Received: by 2002:a1c:e908:: with SMTP id q8mr44498312wmc.136.1620915073091; Thu, 13 May 2021 07:11:13 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.110]) by smtp.gmail.com with ESMTPSA id m22sm8930044wml.40.2021.05.13.07.11.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 07:11:12 -0700 (PDT) From: zimoun Date: Thu, 13 May 2021 16:11:01 +0200 Message-Id: <20210513141105.10274-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210513140818.10217-1-zimon.toutoune@gmail.com> References: <20210513140818.10217-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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=1620915286; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=eKRYLJkDGAf2n3SZR/uR+uoC+eeNFA+zggUSZeC0qFk=; b=gcQ1gP5vuyL8Edk913maKfglmtCGKhu+ItHCywx5q1m27Ccb3F8aqwNMmj4kwaMnhN9h1B XLlnOLaQ4xAoa6Z6cElWOLDalHO5VDz4ato9pzYr2yK1pLBhNyuGLJl9pLB+KXZbTEbYm/ R6myBDd+gNQSffLw5KHxLsA3AlYLpaurut8pJSHr1ZYij1CGX3r2Lx3uvqVW/ifzJk85fw 0OzhcgL5GXKWCOk+AGrgFe8BDe+yxuIq29/N8lxxxuXPGK2tElghZECK2QTpI0O93I23PT Rp3286Noq0IL1I4syCKpYl9cXUeo2gpwxLLSJhuL6mmJXni7vtQloZAzJCypSA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620915286; a=rsa-sha256; cv=none; b=RFT9lmDfNdn5oEe3N0na/KxLlYLUPjKJwDZ6ksSGX8ccMTJgxK7FIeDYKjAev4wjDP+KWj rowPMpL5QUQmQBirf0lclaDG5MkQahag1HPf51/sC4MvYiziYjLmbKJcCcKifV7sxRwhlL +sKKP4oS7Nb4yQwyd8edFYDFhM2ju8y69pWBX4px5ITh6IsG7IGXsHmtQAbbPGGNtu4i5d SN/j88hg84ufhIa8sG3l2Ss+nOejfx+qOauOIf4orDSkIMyLeDarVjJ1UIbxtHNP8ReeuB tdYuIo8/BH8aNSMe8bWuJ/mof3iBCve085P5CobCHoWIYkOc4Y7zh0tYbNdNIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=mWfdBEgX; 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: 0.15 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=mWfdBEgX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 8E16016764 X-Spam-Score: 0.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: i7GMsRa73YIr From: Jean-Baptiste Volatier * gnu/packages/textutils.scm (utf8proc-2.6.1): New variable. Co-Authored-By: zimoun . --- gnu/packages/textutils.scm | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index ab34373705..dbd6dce283 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2019 Mădălin Ionel Patrașcu ;;; Copyright © 2019 Wiktor Żelazny ;;; Copyright © 2020 Maxim Cournoyer +;;; Copyright © 2021 Simon Tournier ;;; ;;; This file is part of GNU Guix. ;;; @@ -63,6 +64,7 @@ #:use-module (gnu packages python-build) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) + #:use-module (gnu packages ruby) #:use-module (gnu packages slang) #:use-module (gnu packages web)) @@ -201,6 +203,45 @@ normalization, case-folding, and other operations for data in the UTF-8 encoding, supporting Unicode version 9.0.0.") (license license:expat))) +(define-public utf8proc-2.6.1 + (package + (inherit utf8proc) + (name "utf8proc") + (version "2.6.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaStrings/utf8proc") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1zqc6airkzkssbjxanx5v8blfk90180gc9id0dx8ncs54f1ib8w7")))) + (arguments + (substitute-keyword-arguments (package-arguments utf8proc) + ((#:phases phases) + `(modify-phases ,phases + (replace 'check-data + (lambda* (#:key inputs #:allow-other-keys) + (for-each (lambda (i) + (copy-file (assoc-ref inputs i) + (string-append "data/" i))) + '("NormalizationTest.txt" "GraphemeBreakTest.txt" + "DerivedCoreProperties.txt")))))))) + (native-inputs + (append + (package-native-inputs utf8proc) + (let ((UNICODE_VERSION "13.0.0")) + `(("DerivedCoreProperties.txt" + ,(origin + (method url-fetch) + (uri (string-append "https://www.unicode.org/Public/" + UNICODE_VERSION "/ucd/DerivedCoreProperties.txt")) + (sha256 + (base32 "0j12x112cd8fpgazkc8izxnhhpia44p1m36ff8yapslxndcmzm55")))) + ;; For tests + ("ruby" ,ruby))))))) + (define-public libconfuse (package (name "libconfuse") -- 2.30.1