From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 2JzALuB0SWboHgAAe85BDQ:P1 (envelope-from ) for ; Sun, 19 May 2024 05:41:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 2JzALuB0SWboHgAAe85BDQ (envelope-from ) for ; Sun, 19 May 2024 05:41:20 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=GdsE0NRv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716090080; a=rsa-sha256; cv=none; b=mGgb6rPlKKk3dh/7ggOqSyudwEAbj8zxG2puSrs4ATJe9o9+ak9IbSTZQkNmQJGFfNcfwS PRU/GI2djEa267OMPKV6EYzc1pEdkrVCWny2AhfQrMZoNHBY2lzF8RGjWxgU3c8Q7FZW9y VfpKjthwn+aEqkJyzvNckl78hAS0py5ZV8rhZnPMu6MzQzi6y1LxygwCSBR73tZu6F/5dX vmBWX3Fmnb4s2FiUwzsBA0hr6YwN3j4Ib1ovNLNx202ovVFgoeT3en5zgxK9N6zQoeM3X1 OGYV4BaJja3eedohUr8Z1ssO6EF/q4CrNaqtg31nCmF7j8KmXfB4vpXdKUZmnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=GdsE0NRv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716090080; 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=+2I9N2+W2yDBsB8PohBL1ZWxUTjXuFYClSQsq4gBik8=; b=NPyKEXb7CrngevwULA8HPPF/Kyt8ZgPMHEba1mQOd9grz7rJeZE+c5q7FFRaKjKH8kUvGT X409FQRSfloKsPFcMk3zDBxMw1h/PnGeEPlMnCTJ4ilOfor6VI2fEPBlofAh9q4ZK6WzBg +ovaUtDyGBYRyyqQjN2m6r8vfEsEGGb+LsjoiXBkp1C9bGVJSyTp85+N5hZQF9MN8ar0BU i1spLYlmtqgb3171W5IIeNv35YddrqQNXB3qnPadm9NwFr4sK4Ba+YCSOHPAxTE5x6N1ZO +n9VcU8+P4J/yhpb6eo4T/j88Z3ssWM2S5/hFxOf8QGZylAXPELrKm/fr+iB4A== 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 677E01842F for ; Sun, 19 May 2024 05:41:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8XQ2-00058i-UU; Sat, 18 May 2024 23:41:06 -0400 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 1s8XPw-000545-61 for guix-patches@gnu.org; Sat, 18 May 2024 23:41:00 -0400 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 1s8XPv-0003sR-Q7 for guix-patches@gnu.org; Sat, 18 May 2024 23:40:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8XPz-0007HN-HM; Sat, 18 May 2024 23:41:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70461] [PATCH 3/9] gnu: Add rust-unicode-truncate-1.0.0. Resent-From: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sun, 19 May 2024 03:41:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70461 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 70461@debbugs.gnu.org Cc: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 70461-submit@debbugs.gnu.org id=B70461.171609002927906 (code B ref 70461); Sun, 19 May 2024 03:41:03 +0000 Received: (at 70461) by debbugs.gnu.org; 19 May 2024 03:40:29 +0000 Received: from localhost ([127.0.0.1]:35710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8XPQ-0007G0-TC for submit@debbugs.gnu.org; Sat, 18 May 2024 23:40:29 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:52556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8XPH-0007F0-QD for 70461@debbugs.gnu.org; Sat, 18 May 2024 23:40:21 -0400 Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-34db9a38755so1484636f8f.1 for <70461@debbugs.gnu.org>; Sat, 18 May 2024 20:40:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716089950; x=1716694750; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+2I9N2+W2yDBsB8PohBL1ZWxUTjXuFYClSQsq4gBik8=; b=GdsE0NRvWB0FMhIr+PLfYoRiujZ//U1xxq5jjd+Q5Y/wrL0bIDMau3QodQfoelDDuA yPy4M7PtvwI5UodfsM5ujVNOOgbSCCk3WEJx0j8g+q2Wr8SFdVkreTxylSjQgHIsfO// bFjXc1qS+L1HzLzeX2ZQh2EpsouYm0893PdEwy3rAyUIMH5FCgHdDRU2EE0jJZHN6ZKn ckJ1ew4N4zoNdc9DlCudkYfBZPc3okYdt55/v3qY89F7l6pT0+wl3y2tj3jbEzi5IJ6Y aHG1p0ScFID4uPJ91cxYvUpfWfbZcs6KLlJQbEemG8jEyfSvBJvfe8iFAfAWg2HvSQD4 SX7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716089950; x=1716694750; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+2I9N2+W2yDBsB8PohBL1ZWxUTjXuFYClSQsq4gBik8=; b=EDp5BEZkgOpfTDpk2XM1IraxmUDuXZ9aAJaZ1nFaPNrr05lCa8MP5KF5JbEKfWMZwl ctDSBTrn00HlozARahyxpXGWlJJPM1ltQsVh3gbsQqXIknPsQsZh5B9kieSZwtm83YMt xlEtWdpxiB2ZwVmEw7Mqn3jcLSgGmEBmD7/zEVIfuW+UjYbb3xTPepZ0SE47yOJLjrlY PqasLfSPBdv/AOblGJQVKkaMQZW/mrHph6pCm2C1nDrqVjwnn/MC6vinVlhQqpZOFm9g W1eM/ceCmzq1WQpQcMIbQQtZZ4qctOzO2m3r7qnKWph+C5LedzMP+jqAHoJyPoHQMSIk i/Ig== X-Gm-Message-State: AOJu0Yxjij25ToSbfPPN3pC5b/ISZnOxONebElmXLcbHKPJHlHSaqbfW BVFvfYrOyk2rUrsCo2yC+AZ1pOitr8bDgPALxioxB7Wjuq259Q7lzBthuS7J X-Google-Smtp-Source: AGHT+IFI3bmhXELVbdM0Zd0PPCXlywMxlpjDXM2EV1eDIyFhvGOOWytQ3cMcJNTiH86budr11osoKw== X-Received: by 2002:a5d:4527:0:b0:352:b632:b309 with SMTP id ffacd0b85a97d-352b632b559mr5332915f8f.60.1716089950275; Sat, 18 May 2024 20:39:10 -0700 (PDT) Received: from localhost (176-241-7-113.pool.digikabel.hu. [176.241.7.113]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3502b79bd40sm25839602f8f.4.2024.05.18.20.39.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 20:39:09 -0700 (PDT) From: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= Date: Sun, 19 May 2024 05:39:23 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <50cb6cad0fc077072067f68a7502c999b5e40fd7.1716089968.git.voroskoi@gmail.com> References: <50cb6cad0fc077072067f68a7502c999b5e40fd7.1716089968.git.voroskoi@gmail.com> 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 677E01842F X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 4.14 X-Spam-Score: 4.14 X-TUID: P3oYZHY2ERqL * gnu/packages/crates-io.scm (rust-unicode-truncate-1): New variable. Change-Id: I872422030d4d3c75683c09f59ad8d0f231303a5f --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7dbaff252a..28d3367882 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -85516,6 +85516,29 @@ (define-public rust-unicode-segmentation-1 boundaries according to Unicode Standard Annex #29 rules.") (license (list license:expat license:asl2.0)))) +(define-public rust-unicode-truncate-1 + (package + (name "rust-unicode-truncate") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unicode-truncate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09lj06lqj408gzs0509aivy5lywjm7yvwkbiiihjqdmyvazblpss")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-itertools" ,rust-itertools-0.12) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) + (home-page "https://github.com/Aetf/unicode-truncate") + (synopsis "Unicode-aware `str` truncate") + (description + "This package provides a unicode-aware algorithm to pad or truncate `str` +in terms of displayed width.") + (license (list license:expat license:asl2.0)))) + (define-public rust-unicode-truncate-0.2 (package (name "rust-unicode-truncate") -- 2.41.0