[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#56752] [PATCH 03/10] gnu: Add rust-textwrap-0.15.
From: |
Nicolas Graves |
Subject: |
[bug#56752] [PATCH 03/10] gnu: Add rust-textwrap-0.15. |
Date: |
Wed, 26 Oct 2022 10:28:10 +0200 |
* gnu/packages/crates-io.scm (rust-textwrap-0.15): New variable.
---
gnu/packages/crates-io.scm | 43 ++++++++++++++++++++++++++++----------
1 file changed, 32 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eb4a0c2c9e..a5a4a41e84 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57982,8 +57982,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 "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
@@ -57995,22 +58026,12 @@ (define-public rust-textwrap-0.12
(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)))
+ ("rust-unicode-width" ,rust-unicode-width-0.1))))))
(define-public rust-textwrap-0.11
(package
--
2.38.0
- [bug#56752] [PATCH 01/10] gnu: rust-thiserror-impl-1: Update to 1.0.37., Nicolas Graves, 2022/10/26
- [bug#56752] [PATCH 03/10] gnu: Add rust-textwrap-0.15.,
Nicolas Graves <=
- [bug#56752] [PATCH 02/10] gnu: rust-thiserror-1: Update to 1.0.37., Nicolas Graves, 2022/10/26
- [bug#56752] [PATCH 04/10] gnu: Add rust-swayipc-types-1., Nicolas Graves, 2022/10/26
- [bug#56752] [PATCH 05/10] gnu: Add rust-swayipc-3., Nicolas Graves, 2022/10/26
- [bug#56752] [PATCH 07/10] gnu: Add rust-clap-lex-0.2., Nicolas Graves, 2022/10/26
- [bug#56752] [PATCH 08/10] gnu: rust-clap-derive-3: Update to 3.1.18., Nicolas Graves, 2022/10/26
- [bug#56752] [PATCH 10/10] gnu: Add swayr., Nicolas Graves, 2022/10/26
- [bug#56752] [PATCH 09/10] gnu: rust-clap-3: Update to 3.1.18., Nicolas Graves, 2022/10/26
- [bug#56752] [PATCH 06/10] gnu: Add rust-rt-format-0.3., Nicolas Graves, 2022/10/26
- [bug#56752] [PATCH 01/10] gnu: rust-thiserror-impl-1: Update to 1.0.37., Nicolas Graves, 2022/10/26