unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Kiran Shila <me@kiranshila.com>
To: 56571@debbugs.gnu.org
Cc: Kiran Shila <me@kiranshila.com>
Subject: [bug#56571] [PATCH v2 4/7] Update rust-textwrap
Date: Sat, 16 Jul 2022 12:34:10 -0700	[thread overview]
Message-ID: <20220716193413.1092916-4-me@kiranshila.com> (raw)
In-Reply-To: <20220716193413.1092916-1-me@kiranshila.com>

---
 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 2d10e91b3e..d6c6126c39 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62537,8 +62537,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
+     `(#: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
+     "Powerful library for word wrapping, indenting, and dedenting strings")
+    (description
+     "Powerful library for word wrapping, indenting, and dedenting strings")
+    (license license:expat)))
+
 (define-public rust-textwrap-0.12
   (package
+    (inherit rust-textwrap-0.15)
     (name "rust-textwrap")
     (version "0.12.1")
     (source
@@ -62556,16 +62587,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
-- 
2.37.0





  parent reply	other threads:[~2022-07-16 21:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-15  3:24 [bug#56571] [PATCH] Update `rust-clap-3` to v3.2.12 Kiran Shila
2022-07-15  8:43 ` Christopher Baines
2022-07-16 19:34   ` [bug#56571] [PATCH v2 1/7] Update the rust-windows crates Kiran Shila
2022-07-16 19:34     ` [bug#56571] [PATCH v2 2/7] Update rust-parking-lot-core Kiran Shila
2022-07-16 19:34     ` [bug#56571] [PATCH v2 3/7] Add rust-unic-emoji-char Kiran Shila
2022-07-16 19:34     ` Kiran Shila [this message]
2022-07-19 14:47       ` [bug#56571] [PATCH v2 4/7] Update rust-textwrap Maxime Devos
2022-07-16 19:34     ` [bug#56571] [PATCH v2 5/7] Update rust-once-cell Kiran Shila
2022-07-16 19:34     ` [bug#56571] [PATCH v2 6/7] Update rust-clap Kiran Shila
2022-07-19 14:46       ` Maxime Devos
2022-07-16 19:34     ` [bug#56571] [PATCH v2 7/7] Add Kiran Shila to the Copyright header Kiran Shila
2022-07-19 14:49     ` [bug#56571] [PATCH v2 1/7] Update the rust-windows crates Maxime Devos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220716193413.1092916-4-me@kiranshila.com \
    --to=me@kiranshila.com \
    --cc=56571@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).