guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

28/29: gnu: rust-textwrap-0.11: Don't hide package.


From: guix-commits
Subject: 28/29: gnu: rust-textwrap-0.11: Don't hide package.
Date: Mon, 5 Oct 2020 06:43:46 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit f408ccd26241cb3b6fefa5cdb652455c6bf178ab
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 5 13:35:23 2020 +0300

    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 6c1126b..ebef508 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]