gnu: Add rust-textwrap-0.16.
* 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. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>master
parent
30e23d455f
commit
51bfed31c7
|
@ -58424,28 +58424,30 @@ unstable language features.")
|
||||||
(description "This package provides a newtypes for text offsets")
|
(description "This package provides a newtypes for text offsets")
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-textwrap-0.15
|
(define-public rust-textwrap-0.16
|
||||||
(package
|
(package
|
||||||
(name "rust-textwrap")
|
(name "rust-textwrap")
|
||||||
(version "0.15.0")
|
(version "0.16.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "textwrap" version))
|
(uri (crate-uri "textwrap" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1yw513k61lfiwgqrfvsjw1a5wpvm0azhpjr2kr0jhnq9c56is55i"))))
|
(base32 "0gbwkjf15l6p3x2rkr75fa4cpcs1ly4c8pmlfx5bl6zybcm24ai2"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
(list #:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-hyphenation" ,rust-hyphenation-0.8)
|
`(("rust-hyphenation" ,rust-hyphenation-0.8)
|
||||||
("rust-smawk" ,rust-smawk-0.3)
|
("rust-smawk" ,rust-smawk-0.3)
|
||||||
("rust-terminal-size" ,rust-terminal-size-0.1)
|
("rust-terminal-size" ,rust-terminal-size-0.2)
|
||||||
("rust-unicode-linebreak" ,rust-unicode-linebreak-0.1)
|
("rust-termion" ,rust-termion-2)
|
||||||
("rust-unicode-width" ,rust-unicode-width-0.1))))
|
("rust-unic-emoji-char" ,rust-unic-emoji-char-0.9)
|
||||||
(home-page
|
("rust-unicode-linebreak" ,rust-unicode-linebreak-0.1)
|
||||||
"https://github.com/mgeisler/textwrap")
|
("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")
|
(synopsis "Library for word wrapping, indenting, and dedenting strings")
|
||||||
(description
|
(description
|
||||||
"Textwrap is a small library for word wrapping, indenting, and dedenting
|
"Textwrap is a small library for word wrapping, indenting, and dedenting
|
||||||
|
@ -58454,26 +58456,45 @@ for display in commandline applications. It is designed to be efficient and
|
||||||
handle Unicode characters correctly.")
|
handle Unicode characters correctly.")
|
||||||
(license license:expat)))
|
(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
|
(define-public rust-textwrap-0.12
|
||||||
(package
|
(package
|
||||||
(inherit rust-textwrap-0.15)
|
(inherit rust-textwrap-0.15)
|
||||||
(name "rust-textwrap")
|
(name "rust-textwrap")
|
||||||
(version "0.12.1")
|
(version "0.12.1")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
(method url-fetch)
|
||||||
(method url-fetch)
|
(uri (crate-uri "textwrap" version))
|
||||||
(uri (crate-uri "textwrap" version))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(file-name
|
(sha256
|
||||||
(string-append name "-" version ".tar.gz"))
|
(base32
|
||||||
(sha256
|
"12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10"))))
|
||||||
(base32
|
|
||||||
"12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10"))))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
(list #:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-hyphenation" ,rust-hyphenation-0.8)
|
`(("rust-hyphenation" ,rust-hyphenation-0.8)
|
||||||
("rust-terminal-size" ,rust-terminal-size-0.1)
|
("rust-terminal-size" ,rust-terminal-size-0.1)
|
||||||
("rust-unicode-width" ,rust-unicode-width-0.1))))))
|
("rust-unicode-width" ,rust-unicode-width-0.1))))))
|
||||||
|
|
||||||
(define-public rust-textwrap-0.11
|
(define-public rust-textwrap-0.11
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue