From patchwork Fri Sep 9 16:04:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: VesselWave X-Patchwork-Id: 42375 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 21DD227BBEA; Fri, 9 Sep 2022 20:13:17 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED 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 66BBF27BBE9 for ; Fri, 9 Sep 2022 20:13:16 +0100 (BST) Received: from localhost ([::1]:59828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWjRD-0001Iv-JH for patchwork@mira.cbaines.net; Fri, 09 Sep 2022 15:13:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWjP8-0006ok-RH for guix-patches@gnu.org; Fri, 09 Sep 2022 15:11:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWjP8-0005GM-I2 for guix-patches@gnu.org; Fri, 09 Sep 2022 15:11:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oWjP8-0008AS-Dy for guix-patches@gnu.org; Fri, 09 Sep 2022 15:11:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57702] [PATCH v2 2/8] gnu: rust-textwrap: Add 0.15.0. References: In-Reply-To: Resent-From: VesselWave Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Sep 2022 19:11:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "57702@debbugs.gnu.org" <57702@debbugs.gnu.org> Received: via spool by 57702-submit@debbugs.gnu.org id=B57702.166275062331162 (code B ref 57702); Fri, 09 Sep 2022 19:11:06 +0000 Received: (at 57702) by debbugs.gnu.org; 9 Sep 2022 19:10:23 +0000 Received: from localhost ([127.0.0.1]:35494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWjOP-00086P-9y for submit@debbugs.gnu.org; Fri, 09 Sep 2022 15:10:23 -0400 Received: from mail-40141.protonmail.ch ([185.70.40.141]:59151) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWgVG-0006oX-FD for 57702@debbugs.gnu.org; Fri, 09 Sep 2022 12:05:15 -0400 Date: Fri, 09 Sep 2022 16:04:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1662739508; x=1662998708; bh=NcPllY6zTJjyQjanj8fkJ63Fay4zfTD86lgO+aGMRs0=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=hWXVkPpqZB8szWAoxSjiumagwkfOFQGNeHQN4RYUV4fUllrZWO88n/tHritJ++dXP r2BtLYy8wDsEcS9Hj6qlOKldedRKV0KNp51yaarfYVUSM7BDWoGZMK+vmuIRpFizbx fHA4o0QmZyAEHv/o2evOQkDvnKsbH9NCToLHkgmKBnseEwgMxQrkieISnDLS9HpFwE whzfgOqbMEQNTOzba6PXq6X1yPddV3UOQvGVm+UMgkn46NwPQPet7cig3KuWFtkgL+ ADZgKJU6lAitjgT8GKWW6YS5lz8O1iDxp8QLdVc/kbkLCB/U4Zjrm6zuwyZ3spHQHg YwTgmriCbtuTA== Message-ID: <-z_FaFoAtZUg0aqrmLznEzmtoBWhUIMptD57wgpBoOMmyiqPzuDO_Wu9fHH3dFx4P7sSj1U52GUTY1_Rhc4nMilrnELqgFnWhF1CZ5TFnzU=@protonmail.com> Feedback-ID: 44853655:user:proton MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 09 Sep 2022 15:10:17 -0400 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: VesselWave X-ACL-Warn: , VesselWave via Guix-patches X-Patchwork-Original-From: VesselWave via Guix-patches via From: VesselWave X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/crates-io.scm | 50 +++++++++++++++++++++++++++++--------- 1 file changed, 39 insertions(+), 11 deletions(-) --2.37.2 diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a82515f73e..46cd5c7a85 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -63836,8 +63836,45 @@ (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)) + #: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 + (inherit rust-textwrap-0.15) (name "rust-textwrap") (version "0.12.1") (source @@ -63855,20 +63892,11 @@ (define-public rust-textwrap-0.12 #: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 - (inherit rust-textwrap-0.12) + (inherit rust-textwrap-0.15) (name "rust-textwrap") (version "0.11.0") (source