From f408ccd26241cb3b6fefa5cdb652455c6bf178ab Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 5 Oct 2020 13:35:23 +0300 Subject: [PATCH] gnu: rust-textwrap-0.11: Don't hide package. * gnu/packages/crates-io.scm (rust-textwrap-0.11)[arguments]: Skip build. Add rust-termsize-0.3, rust-unicode-width-0.1 to cargo-inputs. Add rust-rand-0.6, rust-rand-xorshift-0.1, rust-version-sync-0.6 to cargo-development-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6c1126bb39..ebef508ef9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24646,11 +24646,22 @@ (define-public rust-textwrap-0.11 (origin (method url-fetch) (uri (crate-uri "textwrap" version)) - (file-name (string-append name "-" version ".crate")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0q5hky03ik3y50s9sz25r438bc4nwhqc6dqwynv4wylc807n29nk")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (;("rust-hyphenation" ,rust-hyphenation-0.7) + ("rust-term-size" ,rust-term-size-0.3) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs + (;("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 @@ -24658,7 +24669,6 @@ (define-public rust-textwrap-0.11 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.") - (properties '((hidden? . #t))) (license license:expat))) (define-public rust-thin-slice-0.1