unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Gabriel Arazas <foo.dogsquared@gmail.com>
To: 56037@debbugs.gnu.org
Cc: Gabriel Arazas <foo.dogsquared@gmail.com>
Subject: [bug#56037] [PATCH 07/14] gnu: Add rust-textwrap-0.15.
Date: Fri, 17 Jun 2022 19:59:08 +0800	[thread overview]
Message-ID: <691ea98ed9fe83ca6136578782cdaaf83b0b8149.1655465108.git.foo.dogsquared@gmail.com> (raw)
In-Reply-To: <c6b2d7c30e4d7a6e4af59d75c7ecf9c7951e1515.1655465108.git.foo.dogsquared@gmail.com>

* 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
-- 
2.36.1





  parent reply	other threads:[~2022-06-17 12:05 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-17 11:55 [bug#56037] [PATCH] gnu: Update hexyl to 0.10 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 01/14] gnu: Add rust-kstring-2 Gabriel Arazas
2022-06-17 11:59   ` [bug#56037] [PATCH 02/14] gnu: Add rust-toml-edit-0.14 Gabriel Arazas
2022-06-17 11:59   ` [bug#56037] [PATCH 03/14] gnu: Add rust-similar-2 Gabriel Arazas
2022-06-17 11:59   ` [bug#56037] [PATCH 04/14] gnu: Add rust-snapbox-macros-0.2 Gabriel Arazas
2022-06-17 11:59   ` [bug#56037] [PATCH 05/14] gnu: Add rust-snapbox-0.2 Gabriel Arazas
2022-06-17 11:59   ` [bug#56037] [PATCH 06/14] gnu: Add rust-libtest-mimic-0.3 Gabriel Arazas
2022-06-17 11:59   ` Gabriel Arazas [this message]
2022-06-17 11:59   ` [bug#56037] [PATCH 08/14] gnu: Add rust-trycmd-0.13 Gabriel Arazas
2022-06-17 11:59   ` [bug#56037] [PATCH 09/14] gnu: Add rust-const-format-proc-macros-0.2 Gabriel Arazas
2022-06-17 11:59   ` [bug#56037] [PATCH 10/14] gnu: Add rust-const-format-0.2 Gabriel Arazas
2022-06-17 11:59   ` [bug#56037] [PATCH 11/14] gnu: Add rust-clap-lex-0.2 Gabriel Arazas
2022-06-17 11:59   ` [bug#56037] [PATCH 12/14] gnu: rust-clap-derive-3: Update to 3.1.18 Gabriel Arazas
2022-06-18 20:27     ` Maxime Devos
2022-06-17 11:59   ` [bug#56037] [PATCH 13/14] gnu: rust-clap-3: " Gabriel Arazas
2022-06-17 11:59   ` [bug#56037] [PATCH 14/14] gnu: hexyl: Update to 0.10.0 Gabriel Arazas
2022-06-17 17:11 ` [bug#56037] [PATCH] gnu: Update hexyl to 0.10 Maxime Devos
2022-06-17 17:26   ` Maxime Devos
     [not found]   ` <389bdecf-ca8f-208a-f7b8-4a9ddc92447c@gmail.com>
2022-06-20 10:40     ` Gabriel Arazas
2022-06-20 11:22     ` Maxime Devos
2022-07-10  5:03 ` antlers

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=691ea98ed9fe83ca6136578782cdaaf83b0b8149.1655465108.git.foo.dogsquared@gmail.com \
    --to=foo.dogsquared@gmail.com \
    --cc=56037@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).