diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-10-05 13:35:23 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-10-05 13:39:09 +0300 |
commit | f408ccd26241cb3b6fefa5cdb652455c6bf178ab (patch) | |
tree | 4d9dca0be25905d08672037fe8fed8b71870660a | |
parent | 6b9396a11df9f3001babd22ce0aabd1f4f7d67d6 (diff) | |
download | guix-patches-f408ccd26241cb3b6fefa5cdb652455c6bf178ab.tar guix-patches-f408ccd26241cb3b6fefa5cdb652455c6bf178ab.tar.gz |
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.
-rw-r--r-- | gnu/packages/crates-io.scm | 14 |
1 files 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 @@ unstable language features.") (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 @@ unstable language features.") 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 |