From patchwork Fri Jun 17 11:59:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Arazas X-Patchwork-Id: 40076 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 F39BB27BBEB; Fri, 17 Jun 2022 13:05:13 +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.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,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 BB43927BBE9 for ; Fri, 17 Jun 2022 13:05:12 +0100 (BST) Received: from localhost ([::1]:49148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2Ait-00072r-SC for patchwork@mira.cbaines.net; Fri, 17 Jun 2022 08:05:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2Aet-0005GU-Ft for guix-patches@gnu.org; Fri, 17 Jun 2022 08:01:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50097) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2Aes-0002XN-V2 for guix-patches@gnu.org; Fri, 17 Jun 2022 08:01:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2Aes-0000Ay-UD for guix-patches@gnu.org; Fri, 17 Jun 2022 08:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56037] [PATCH 07/14] gnu: Add rust-textwrap-0.15. Resent-From: Gabriel Arazas Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Jun 2022 12:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56037 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56037@debbugs.gnu.org Cc: Gabriel Arazas Received: via spool by 56037-submit@debbugs.gnu.org id=B56037.1655467211422 (code B ref 56037); Fri, 17 Jun 2022 12:01:02 +0000 Received: (at 56037) by debbugs.gnu.org; 17 Jun 2022 12:00:11 +0000 Received: from localhost ([127.0.0.1]:43972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Ae2-00006d-KT for submit@debbugs.gnu.org; Fri, 17 Jun 2022 08:00:11 -0400 Received: from mail-pj1-f54.google.com ([209.85.216.54]:45504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Adx-0008VW-0c for 56037@debbugs.gnu.org; Fri, 17 Jun 2022 08:00:06 -0400 Received: by mail-pj1-f54.google.com with SMTP id t3-20020a17090a510300b001ea87ef9a3dso3944642pjh.4 for <56037@debbugs.gnu.org>; Fri, 17 Jun 2022 05:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5f4zQPZfjdX34JtQwWgFzc/PR8hvy1/6b/W+djHQP1w=; b=UV02DbgQM5HbfZzit2xrerAfg9Q2/X3RszGXIPCK5yvoeS5sa8jttUdbtIZ2/6hyF0 VhVQtNquu7rwoP0BUe4jZKaCxWm/Pit8utBW85LUWvznIfeEpFkKbcCdERttzlYT8MWk NTSQvfQCnislTR4D7GD54/CHRJHJCQL03fBJwhu+d/zOB6TUiOYaQlH5K+15bKhKHoHn 86XRV6t+rhX+UuAzxx7fE4LokWdD6JflTRPR3YQM1NOUYWctfNzpHRsijBveV8VMq/Ym cYZrCV5dEuKtT6omp6QhBYBdYLOswbX75GZb04s1wuoRF8lloKScRmTtR/HtblIhOUOn O1Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5f4zQPZfjdX34JtQwWgFzc/PR8hvy1/6b/W+djHQP1w=; b=4ARAAz9MSyvZoyYLSTL46wPA+Cub7o+GXIf2hTrg6buoU00GbOqTXGxKiH/aFUcqE0 rTqQHFBp39is5Qm3FuCn48Lppu5gL0B7jX78tFh39F1wGTn5trE+qh3mW/CdXWWkXojF hFWODuj6oYGU6Yoyvq4V5XMko6TaSH3+VA316sb+GytNCpc5sR0zYn5IRoBUC2I7Hl2W qIm1bXUTiDz77Z48G5DVsJsrXXAhQ477OSNfiAb+ublJ8vwJxBHLI9YvfRose49DIXQ5 Id39C0Xa5fMbVabOoDOBr2NONdHTT9aT8/KJL7kutJkaHTNhYFRYpCNhmoDhKCMPDD/J 0PSw== X-Gm-Message-State: AJIora+r5ul30T8duPkwO1K8bQfn23bGsTdqaWRsJCYQcgj79daIj2tB CB26u0iPpu0b1NTitfslh4pPKC1Djfs= X-Google-Smtp-Source: AGRyM1vB+Bqlua7VT/rT26GPN5c1L1LrqL97L54Qc1qupI3htUSOOS2JWolvWBHo+mz53lBQB1WNFQ== X-Received: by 2002:a17:903:32d2:b0:166:3747:8465 with SMTP id i18-20020a17090332d200b0016637478465mr9079239plr.143.1655467199162; Fri, 17 Jun 2022 04:59:59 -0700 (PDT) Received: from ni.localhost ([180.190.75.56]) by smtp.gmail.com with ESMTPSA id jh22-20020a170903329600b0015e8d4eb1d3sm1152779plb.29.2022.06.17.04.59.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 04:59:58 -0700 (PDT) From: Gabriel Arazas Date: Fri, 17 Jun 2022 19:59:08 +0800 Message-Id: <691ea98ed9fe83ca6136578782cdaaf83b0b8149.1655465108.git.foo.dogsquared@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-textwrap-0.15): New variable. (rust-textwrap-0.12): Inherit and adjust. --- gnu/packages/crates-io.scm | 42 +++++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7585568493..7226c46c87 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -62461,8 +62461,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 + "Powerful 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 @@ -62480,16 +62511,7 @@ (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