From patchwork Wed Oct 26 08:59:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 44134 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 C875827BBE9; Wed, 26 Oct 2022 10:02:37 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=unavailable 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 A193C27BBEA for ; Wed, 26 Oct 2022 10:02:36 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oncGd-0000SQ-Al; Wed, 26 Oct 2022 05:00:07 -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 1oncGa-0000FM-Gb for guix-patches@gnu.org; Wed, 26 Oct 2022 05:00:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oncGa-0000r8-7a for guix-patches@gnu.org; Wed, 26 Oct 2022 05:00:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oncGa-0006C6-1N for guix-patches@gnu.org; Wed, 26 Oct 2022 05:00:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56752] [PATCH v2 03/10] gnu: Add rust-textwrap-0.15. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 Oct 2022 09:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56752 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56752@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 56752-submit@debbugs.gnu.org id=B56752.166677477523644 (code B ref 56752); Wed, 26 Oct 2022 09:00:03 +0000 Received: (at 56752) by debbugs.gnu.org; 26 Oct 2022 08:59:35 +0000 Received: from localhost ([127.0.0.1]:53336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oncG7-00069B-97 for submit@debbugs.gnu.org; Wed, 26 Oct 2022 04:59:35 -0400 Received: from 16.mo584.mail-out.ovh.net ([188.165.55.104]:45279) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oncG2-00068d-52 for 56752@debbugs.gnu.org; Wed, 26 Oct 2022 04:59:31 -0400 Received: from player726.ha.ovh.net (unknown [10.109.156.77]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 0C05225733 for <56752@debbugs.gnu.org>; Wed, 26 Oct 2022 08:59:28 +0000 (UTC) Received: from ngraves.fr (81-67-140-142.rev.numericable.fr [81.67.140.142]) (Authenticated sender: ngraves@ngraves.fr) by player726.ha.ovh.net (Postfix) with ESMTPSA id C9890300EDCD3; Wed, 26 Oct 2022 08:59:26 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-103G0056ffbe9ff-03cd-4779-ae51-6133e361f9d3, 8CF575B7FC13835D035716E40AABD3449C243886) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 Date: Wed, 26 Oct 2022 10:59:01 +0200 Message-Id: <20221026085908.2938-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221026085908.2938-1-ngraves@ngraves.fr> References: <20221026085908.2938-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 17793440655075828450 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvgedrtddvgdduudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeehieejhedvseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeegpdhmohguvgepshhmthhpohhuth 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: , Sender: "Guix-patches" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-textwrap-0.15): New variable. --- gnu/packages/crates-io.scm | 43 ++++++++++++++++++++++++++++---------- 1 file changed, 32 insertions(+), 11 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index eb4a0c2c9e..a5a4a41e84 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -57982,8 +57982,39 @@ (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")))) + (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") + (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 + (inherit rust-textwrap-0.15) (name "rust-textwrap") (version "0.12.1") (source @@ -57995,22 +58026,12 @@ (define-public rust-textwrap-0.12 (sha256 (base32 "12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10")))) - (build-system cargo-build-system) (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)))) - (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))) + ("rust-unicode-width" ,rust-unicode-width-0.1)))))) (define-public rust-textwrap-0.11 (package