diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2022-10-26 10:59:01 +0200 |
---|---|---|
committer | Andrew Tropin <andrew@trop.in> | 2022-11-28 12:50:14 +0400 |
commit | df038ad39b5f4a83a5af225d242486a02c8b9ee2 (patch) | |
tree | aa5e22499d5272738fa142673a1b550f03c0ff4d | |
parent | f7c95ecb6753511968525ff560c327ea989f6f55 (diff) | |
download | guix-df038ad39b5f4a83a5af225d242486a02c8b9ee2.tar.gz |
gnu: Add rust-textwrap-0.15.
* gnu/packages/crates-io.scm (rust-textwrap-0.15): New variable. Signed-off-by: Andrew Tropin <andrew@trop.in>
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 27 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ade2679dc6..23b29cd34c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -57983,25 +57983,25 @@ unstable language features.") (description "This package provides a newtypes for text offsets") (license (list license:expat license:asl2.0)))) -(define-public rust-textwrap-0.12 +(define-public rust-textwrap-0.15 (package (name "rust-textwrap") - (version "0.12.1") + (version "0.15.0") (source (origin (method url-fetch) (uri (crate-uri "textwrap" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10")))) + (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") @@ -58013,6 +58013,27 @@ 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 + (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)))))) + (define-public rust-textwrap-0.11 (package (inherit rust-textwrap-0.12) |