From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OKCMCQ3B3WIrIgAAbAwnHQ (envelope-from ) for ; Mon, 25 Jul 2022 00:00:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eCBoCQ3B3WKjFgEAauVa8A (envelope-from ) for ; Mon, 25 Jul 2022 00:00:45 +0200 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 D39E33968A for ; Mon, 25 Jul 2022 00:00:44 +0200 (CEST) Received: from localhost ([::1]:40770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFjeW-0000V9-00 for larch@yhetil.org; Sun, 24 Jul 2022 18:00:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFjdw-0000UT-LL for guix-patches@gnu.org; Sun, 24 Jul 2022 18:00:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFjdr-0001UJ-JJ for guix-patches@gnu.org; Sun, 24 Jul 2022 18:00:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFjdr-00030R-C4 for guix-patches@gnu.org; Sun, 24 Jul 2022 18:00:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56074] [bug#56057] [gnu: Add dua-cli. 20/27] gnu: Add rust-textwrap-0.15. Resent-From: Aleksandr Vityazev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Jul 2022 22:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56074 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: antlers Cc: antlers@luris.net, 56074@debbugs.gnu.org, 56057@debbugs.gnu.org Received: via spool by 56074-submit@debbugs.gnu.org id=B56074.165869999011459 (code B ref 56074); Sun, 24 Jul 2022 22:00:03 +0000 Received: (at 56074) by debbugs.gnu.org; 24 Jul 2022 21:59:50 +0000 Received: from localhost ([127.0.0.1]:48894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFjdd-0002yh-R4 for submit@debbugs.gnu.org; Sun, 24 Jul 2022 17:59:50 -0400 Received: from mout02.posteo.de ([185.67.36.66]:43031) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFjdY-0002yD-1d for 56074@debbugs.gnu.org; Sun, 24 Jul 2022 17:59:48 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id DF27A240108 for <56074@debbugs.gnu.org>; Sun, 24 Jul 2022 23:59:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1658699977; bh=dxt6m+Voh757EOLxwK9AFLlgdtMOc93Xqv0H2sw+K8E=; h=From:To:Cc:Subject:Date:From; b=eajilaGp+IW0qZaYcoCg14lC9v7Z1pXsyPVaDlcCCPm5WuiWW2pXArZBC9Pp/UZ6r P7sJBKPoCph0bNfdSE9XH4+FjrWnPslV7T03PgZtABbFG0u2h9Zp4AEywd6Cee7NoH 9p7/n5zJgeFCq5GNyGps8B1718u13QWqhLpvP/+YBd9JVGdiwgtzO0HQSHWKcvlbJQ Q2fk3sECsapDGNyrFzBuDmA0V+UkYc/Z8XWyMUfeUuzpVPIXRi3yLvmEsTfWsYDxWX OC5k5BNnibkHTSw9ZvBAXs8zTEkeQLVqNXm5dmv03aerR6+ZfMxhgmgp9UpuZ9b5fo TqXn43xMa1S+w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LrcXS29yRz6tm6; Sun, 24 Jul 2022 23:59:33 +0200 (CEST) From: Aleksandr Vityazev References: <20220618195656.10108-1-antlers@luris.net> <20220618195656.10108-21-antlers@luris.net> Date: Sun, 24 Jul 2022 21:59:31 +0000 In-Reply-To: <20220618195656.10108-21-antlers@luris.net> (antlers's message of "Sat, 18 Jun 2022 12:56:49 -0700") Message-ID: <87lesikw8s.fsf@posteo.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658700044; 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: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=YrpIlw4WTFgxKbsCsj73JAgl7IS0iYyh7/xhfhwHENg=; b=N+7TrVWkdYZw/4Q2kymMnVC1uySVwdxPV+WKmArUJBKBQpGHMwliEHktD/4oQn95VtylkT 6+hUTQBYAVrlJuAwLJ7O/jhcTxol9evG40Gluq16fqvK9gtCfTjbgpDUYFsgUw+dwwusAd c72uwU+75nB4z17AY/2fI2nLQg68a9/DThWm0w3vqcTXpjtxsMi7XB5qUw+0z7bIvC40Oo gBBu/+NufEJlVus6UZJvoKy3MlG76D5B+nwXasdnh7SDmw+rF00Y/9tusACacTQXN0tnXb 1PSoXd1LsB0kMl7b0kQqurXduWnXIdI4tE2bMNHMpMjUXLK0usHDPr2i1VJ5XQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658700044; a=rsa-sha256; cv=none; b=PmjQhbw1E2Abxas5Glmc4wqKM9NInB9tg6iq4kiPj8GF3vEI5ztLQ5Fra3BIYvpa11GupM Z0tEZN30akj5WmpDKm8fyQf15QRagsQJW0e3vCQuJUTMx+eNWrWgf8j6vaez8KuuHz6MzE tre1w8Ajfc7SOueFiOt9ckdhAWAe8zZ45hMkSFnwyrsTGampzVTHH852m69ePs8SxKA/SX 04ZaKLQHMu0XYYqYw9WW1bE+Ak1DGsLweDA/1zVA6wB8xrc+hsVjQFW3PCbINqnt3Two8/ ciW6CAo4VnBeAYsVd2Nc5h+qh/veJP8M/Gmil5kSGftn87kKBPzY3EGdp/TlMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=eajilaGp; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.org (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" X-Migadu-Spam-Score: 5.87 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=eajilaGp; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.org (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" X-Migadu-Queue-Id: D39E33968A X-Spam-Score: 5.87 X-Migadu-Scanner: scn1.migadu.com X-TUID: wmibILONIMmQ --=-=-= Content-Type: text/plain Hi, The textwrap-0.15 build will fail On 2022-06-18, 12:56 -0700, antlers wrote: > * gnu/packages/crates-io.scm (rust-textwrap-0.15): New variable. > (rust-textwrap-0.12): Inherit from rust-textwrap-0.15. > --- > :100644 100644 fd431e544b f9aabbb334 M gnu/packages/crates-io.scm > gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++++----- > 1 file changed, 27 insertions(+), 5 deletions(-) > > diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm > index fd431e544b..f9aabbb334 100644 > --- a/gnu/packages/crates-io.scm > +++ b/gnu/packages/crates-io.scm > @@ -62665,10 +62665,10 @@ (define-public rust-text-size-1 > (description "This package provides a newtypes for text offsets") > (license (list license:expat license:asl2.0)))) > > -(define-public rust-textwrap-0.12 > +(define-public rust-textwrap-0.15 > (package > (name "rust-textwrap") > - (version "0.12.1") > + (version "0.15.0") > (source > (origin > (method url-fetch) > @@ -62677,16 +62677,17 @@ (define-public rust-textwrap-0.12 > (string-append name "-" version ".tar.gz")) > (sha256 > (base32 > - "12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10")))) > + "1yw513k61lfiwgqrfvsjw1a5wpvm0azhpjr2kr0jhnq9c56is55i")))) > (build-system cargo-build-system) > (arguments > `(#:skip-build? #t > #:cargo-inputs > (("rust-hyphenation" ,rust-hyphenation-0.8) > + ("rust-smawk" ,rust-smawk-0.3) > ("rust-terminal-size" ,rust-terminal-size-0.1) > + ("rust-unicode-linebreak" ,rust-unicode-linebreak-0.1) > ("rust-unicode-width" ,rust-unicode-width-0.1)))) > - (home-page > - "https://github.com/mgeisler/textwrap") > + (home-page "https://github.com/mgeisler/textwrap") > (synopsis "Library for word wrapping, indenting, and dedenting strings") > (description > "Textwrap is a small library for word wrapping, indenting, and dedenting > @@ -62695,6 +62696,27 @@ (define-public rust-textwrap-0.12 > handle Unicode characters correctly.") > (license license:expat))) > > +(define-public rust-textwrap-0.12 > + (package > + (inherit rust-textwrap-0.15) > + (name "rust-textwrap") > + (version "0.12.1") > + (source > + (origin > + (method url-fetch) > + (uri (crate-uri "textwrap" version)) > + (file-name > + (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10")))) > + (arguments > + `(#:skip-build? #t > + #:cargo-inputs > + (("rust-hyphenation" ,rust-hyphenation-0.8) > + ("rust-terminal-size" ,rust-terminal-size-0.1) > + ("rust-unicode-width" ,rust-unicode-width-0.1)))))) > + > (define-public rust-textwrap-0.11 > (package > (inherit rust-textwrap-0.12) To correctly build textwrap-0.15 u can use these patches (see in attachments). Although, of course, it does not play a big role, older versions also fails when building. -- Aleksandr Vityazev --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0022-gnu-Add-rust-unic-emoji-char-0.9.patch Content-Transfer-Encoding: quoted-printable Content-Description: emoji >From a44052bca7754bd86401aaf207bb85031ff43707 Mon Sep 17 00:00:00 2001 Message-Id: In-Reply-To: References: From: Aleksandr Vityazev Date: Sun, 24 Jul 2022 23:05:18 +0300 Subject: [PATCH 22/27] gnu: Add rust-unic-emoji-char-0.9. * gnu/packages/crates-io.scm (rust-unic-emoji-char-0.9): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8eb075ab8f..bb608a5ebb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -68142,6 +68142,31 @@ (define-public rust-unic-common-0.9 Internationalization Crates (UNIC) project.") (license (list license:expat license:asl2.0)))) =20 +(define-public rust-unic-emoji-char-0.9 + (package + (name "rust-unic-emoji-char") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unic-emoji-char" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ka9fr7s6lv0z43r9xphg9injn35pfxf9g9q18ki0wl9d0g241qb")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-unic-char-property" ,rust-unic-char-property-0.9) + ("rust-unic-char-range" ,rust-unic-char-range-0.9) + ("rust-unic-ucd-version" ,rust-unic-ucd-version-0.9)))) + (home-page "https://github.com/open-i18n/rust-unic/") + (synopsis "UNIC =E2=80=94 Unicode Emoji") + (description + "This UNIC component implements character properties and algorithms f= rom +Unicode=C2=AE Technical Standard #51 - Unicode Emoji.") + (license (list license:expat license:asl2.0)))) + (define-public rust-unic-segment-0.9 (package (name "rust-unic-segment") --=20 2.37.1 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0023-gnu-Add-rust-textwrap-0.15.patch Content-Description: textwrap-0.15 >From b7b5118274309e91a9599e487ea3e531a461ce19 Mon Sep 17 00:00:00 2001 Message-Id: In-Reply-To: References: From: Aleksandr Vityazev Date: Sun, 24 Jul 2022 23:34:33 +0300 Subject: [PATCH 23/27] gnu: Add rust-textwrap-0.15. * gnu/packages/crates-io.scm (rust-textwrap-0.15): New variable. --- gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bb608a5ebb..f9a11dd408 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -62748,6 +62748,47 @@ (define-public rust-text-size-1 (description "This package provides a newtypes for text offsets") (license (list license:expat license:asl2.0)))) +(define-public rust-textwrap-0.15 + (package + (name "rust-textwrap") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "textwrap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1yw513k61lfiwgqrfvsjw1a5wpvm0azhpjr2kr0jhnq9c56is55i")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "Cargo.toml" + (("version = \"1.5.6\"") "version = \"^1.5.5\"")))))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-hyphenation" ,rust-hyphenation-0.8) + ("rust-smawk" ,rust-smawk-0.3) + ("rust-terminal-size" ,rust-terminal-size-0.1) + ("rust-unicode-linebreak" ,rust-unicode-linebreak-0.1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-lipsum" ,rust-lipsum-0.8) + ("rust-termion" ,rust-termion-1) + ("rust-unic-emoji-char" ,rust-unic-emoji-char-0.9) + ("rust-version-sync" ,rust-version-sync-0.9)))) + (home-page "https://github.com/mgeisler/textwrap") + (synopsis "Library for word wrapping, indenting, and dedenting strings") + (description + "Textwrap is a small library for word wrapping, indenting, and dedenting +strings. You can use it to format strings (such as help and error messages) +for display in commandline applications. It is designed to be efficient and +handle Unicode characters correctly.") + (license license:expat))) + (define-public rust-textwrap-0.12 (package (name "rust-textwrap") -- 2.37.1 --=-=-=--