all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Greg Hogan <code@greghogan.com>
To: 58142@debbugs.gnu.org
Cc: Greg Hogan <code@greghogan.com>
Subject: [bug#58142] [PATCH 3/7] gnu: Add rust-textwrap-0.14.
Date: Wed, 28 Sep 2022 13:03:21 +0000	[thread overview]
Message-ID: <787eab571f6843fbe7d47e094c7d188249bb02f3.1664369657.git.code@greghogan.com> (raw)
In-Reply-To: <cover.1664369656.git.code@greghogan.com>

* gnu/packages/crates-io.scm (rust-textwrap-0.14): New variable.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1cda57c42e..a1b94bf957 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64605,6 +64605,35 @@ (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.14
+  (package
+    (name "rust-textwrap")
+    (version "0.14.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "textwrap" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "106xjfzfpk3nj51fx9slf9kyir7xjwvpqm003v9ardgq5b8whrh0"))))
+    (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
     (name "rust-textwrap")
-- 
2.37.3





  parent reply	other threads:[~2022-09-28 15:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-28 13:00 [bug#58142] [PATCH 0/7] Update tealdeer Greg Hogan
2022-09-28 13:03 ` [bug#58142] [PATCH 1/7] gnu: Add rust-pager-0.16 Greg Hogan
2022-09-28 13:03 ` [bug#58142] [PATCH 2/7] gnu: rust-pager-0.15: Inherit from rust-pager-0.16 Greg Hogan
2022-09-28 13:03 ` Greg Hogan [this message]
2022-09-28 13:03 ` [bug#58142] [PATCH 4/7] gnu: rust-textwrap-0.12: Inherit from rust-textwrap-0.14 Greg Hogan
2022-09-28 13:03 ` [bug#58142] [PATCH 5/7] gnu: Add rust-clap-derive-3.0.0-rc.11 Greg Hogan
2022-09-28 18:09   ` [bug#58142] [PATCH 0/7] Update tealdeer Maxim Cournoyer
2022-09-28 13:03 ` [bug#58142] [PATCH 6/7] gnu: Add rust-clap-3.0.0-rc.11 Greg Hogan
2022-09-28 18:10   ` [bug#58142] [PATCH 0/7] Update tealdeer Maxim Cournoyer
2022-11-07 17:57     ` bug#58142: " Greg Hogan
2022-09-28 13:03 ` [bug#58142] [PATCH 7/7] gnu: tealdeer: Update to 1.5.0 Greg Hogan

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

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

  git send-email \
    --in-reply-to=787eab571f6843fbe7d47e094c7d188249bb02f3.1664369657.git.code@greghogan.com \
    --to=code@greghogan.com \
    --cc=58142@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.