From: Zheng Junjie <873216071@qq.com>
To: 48065@debbugs.gnu.org
Cc: Zheng Junjie <873216071@qq.com>
Subject: [bug#48065] [PATCH 04/14] gnu: Add rust-textwrap-0.12.
Date: Wed, 28 Apr 2021 00:12:23 +0800 [thread overview]
Message-ID: <tencent_F5C6A5BE6455FF81EA4C94B7943CD7266D0A@qq.com> (raw)
In-Reply-To: <20210427161233.7381-1-873216071@qq.com>
* gnu/packages/crates-io.scm (rust-textwrap-0.12): New variable.
(rust-textwrap-0.11): Inherit from above.
---
gnu/packages/crates-io.scm | 56 ++++++++++++++++++++++++++------------
1 file changed, 39 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cfacbf4a54..45c0752adf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42267,19 +42267,49 @@ for TLS).")
unstable language features.")
(license (list license:expat license:asl2.0))))
+(define-public rust-textwrap-0.12
+ (package
+ (name "rust-textwrap")
+ (version "0.12.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "textwrap" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #: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)))
+
(define-public rust-textwrap-0.11
(package
+ (inherit rust-textwrap-0.12)
(name "rust-textwrap")
(version "0.11.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "textwrap" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0q5hky03ik3y50s9sz25r438bc4nwhqc6dqwynv4wylc807n29nk"))))
- (build-system cargo-build-system)
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "textwrap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0q5hky03ik3y50s9sz25r438bc4nwhqc6dqwynv4wylc807n29nk"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -42290,15 +42320,7 @@ unstable language features.")
(;("rust-lipsum" ,rust-lipsum-0.6)
("rust-rand" ,rust-rand-0.6)
("rust-rand-xorshift" ,rust-rand-xorshift-0.1)
- ("rust-version-sync" ,rust-version-sync-0.6))))
- (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-version-sync" ,rust-version-sync-0.6))))))
(define-public rust-thin-slice-0.1
(package
--
2.31.1
next prev parent reply other threads:[~2021-04-27 16:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210427161233.7381-1-873216071@qq.com>
2021-04-27 16:12 ` [bug#48065] [PATCH 02/14] gnu: Add rust-hyphenation-commons-0.8 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 03/14] gnu: Add rust-hyphenation-0.8 Zheng Junjie
2021-04-27 16:12 ` Zheng Junjie [this message]
2021-04-27 16:12 ` [bug#48065] [PATCH 05/14] gnu: Add rust-os-str-bytes-2 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 06/14] gnu: Add rust-strsim-0.10 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 07/14] gnu: Add rust-clap-derive-3 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 08/14] gnu: Add rust-clap-3 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 09/14] gnu: Add rust-askama-escape-0.10 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 10/14] gnu: Add rust-askama-shared-0.11 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 11/14] gnu: Add rust-askama-derive-0.10 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 12/14] gnu: Add rust-askama-0.10 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 13/14] gnu: Add rust-seq-macro-0.2 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 14/14] gnu: Add zoxide Zheng Junjie
2021-05-26 13:24 ` bug#48065: " Nicolas Goaziou
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=tencent_F5C6A5BE6455FF81EA4C94B7943CD7266D0A@qq.com \
--to=873216071@qq.com \
--cc=48065@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).