[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#59670] [PATCH 41/50] gnu: Add rust-textwrap-0.16.
From: |
( |
Subject: |
[bug#59670] [PATCH 41/50] gnu: Add rust-textwrap-0.16. |
Date: |
Tue, 29 Nov 2022 07:00:55 +0000 |
* gnu/packages/crates-io.scm (rust-textwrap-0.16): New variable.
(rust-textwrap-0.15): Inherit from RUST-TEXTWRAP-0.16.
(rust-textwrap-0.12): Inherit from RUST-TEXTWRAP-0.15.
---
gnu/packages/crates-io.scm | 85 ++++++++++++++++++++++++--------------
1 file changed, 53 insertions(+), 32 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fb6e10f502..0660c01180 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58423,28 +58423,30 @@ (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
+(define-public rust-textwrap-0.16
(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"))))
+ (version "0.16.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "textwrap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0gbwkjf15l6p3x2rkr75fa4cpcs1ly4c8pmlfx5bl6zybcm24ai2"))))
(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")
+ (list #:skip-build? #t
+ #:cargo-inputs
+ `(("rust-hyphenation" ,rust-hyphenation-0.8)
+ ("rust-smawk" ,rust-smawk-0.3)
+ ("rust-terminal-size" ,rust-terminal-size-0.2)
+ ("rust-termion" ,rust-termion-2)
+ ("rust-unic-emoji-char" ,rust-unic-emoji-char-0.9)
+ ("rust-unicode-linebreak" ,rust-unicode-linebreak-0.1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1)
+ ("rust-version-sync" ,rust-version-sync-0.9))))
+ (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
@@ -58453,26 +58455,45 @@ (define-public rust-textwrap-0.15
handle Unicode characters correctly.")
(license license:expat)))
+(define-public rust-textwrap-0.15
+ (package
+ (inherit rust-textwrap-0.16)
+ (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"))))
+ (arguments
+ (list #: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))))))
+
(define-public rust-textwrap-0.12
(package
(inherit rust-textwrap-0.15)
(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"))))
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "textwrap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10"))))
(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))))))
+ (list #: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))))))
(define-public rust-textwrap-0.11
(package
--
2.38.1
- [bug#59670] [PATCH 24/50] gnu: rust-async-std-1: Update to 1.12.0., (continued)
- [bug#59670] [PATCH 24/50] gnu: rust-async-std-1: Update to 1.12.0., (, 2022/11/29
- [bug#59670] [PATCH 32/50] gnu: rust-errno-0.2: Update to 0.2.8., (, 2022/11/29
- [bug#59670] [PATCH 39/50] gnu: Add rust-unic-emoji-char-0.9., (, 2022/11/29
- [bug#59670] [PATCH 47/50] gnu: Add rust-clap-complete-fig-3., (, 2022/11/29
- [bug#59670] [PATCH 42/50] gnu: rust-clap-derive-3: Update to 3.2.18., (, 2022/11/29
- [bug#59670] [PATCH 43/50] gnu: rust-clap-3: Update to 3.2.23., (, 2022/11/29
- [bug#59670] [PATCH 33/50] gnu: rust-memoffset-0.6: Update to 0.6.5., (, 2022/11/29
- [bug#59670] [PATCH 48/50] gnu: Add rust-rstest-reuse-0.4., (, 2022/11/29
- [bug#59670] [PATCH 49/50] gnu: rust-which-4: Update to 4.3.0., (, 2022/11/29
- [bug#59670] [PATCH 45/50] gnu: rust-unicode-xid-0.2: Update to 0.2.4., (, 2022/11/29
- [bug#59670] [PATCH 41/50] gnu: Add rust-textwrap-0.16.,
( <=
- [bug#59670] [PATCH 44/50] gnu: rust-pathdiff-0.2: Update to 0.2.1., (, 2022/11/29
- [bug#59670] [PATCH 46/50] gnu: Add rust-clap-complete-3., (, 2022/11/29
- [bug#59670] [PATCH 50/50] gnu: zoxide: Update to 0.8.3., (, 2022/11/29
- [bug#59670] [PATCH 31/50] gnu: Add rust-linux-raw-sys-0.0.46., (, 2022/11/29
- [bug#59670] [PATCH 00/50] gnu: zoxide: Update to 0.8.3., Tobias Geerinckx-Rice, 2022/11/29