summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-02-18 11:03:46 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-02-18 11:03:46 +0200
commit96737ce3be794d3fdb9c01a8301472d1bdf36d02 (patch)
treea31da2b14491d96711648e5ef336dcb9b1fc5f07
parent71e932df859fac23492c2bd671a4ddb39a972aa7 (diff)
downloadguix-96737ce3be794d3fdb9c01a8301472d1bdf36d02.tar.gz
gnu: rust-termion-1.5: Upgrade to 1.5.5.
* gnu/packages/crates-io.scm (rust-termion-1.5): Upgrade to 1.5.5.
[arguments]: Skip tests. Add rust-libc-0.2, rust-numtoa-0.1,
rust-redox-syscall-0.1, rust-redox-termios-0.1 to cargo-inputs.
[properties]: Remove field.
-rw-r--r--gnu/packages/crates-io.scm12
1 files changed, 9 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ac62d424a7..c438925642 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13524,7 +13524,7 @@ writing colored text to a terminal.")
 (define-public rust-termion-1.5
   (package
     (name "rust-termion")
-    (version "1.5.3")
+    (version "1.5.5")
     (source
       (origin
         (method url-fetch)
@@ -13532,13 +13532,19 @@ writing colored text to a terminal.")
         (file-name (string-append name "-" version ".crate"))
         (sha256
          (base32
-          "0c634rg520zjjfhwnxrc2jbfjz7db0rcpsjs1qici0nyghpv53va"))))
+          "01f9787d5nx445bqbj644v38bn0hl2swwjy9baz0dnbqi6fyqb62"))))
     (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; Tests want a terminal.
+       #:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-numtoa" ,rust-numtoa-0.1)
+        ("rust-redox-syscall" ,rust-redox-syscall-0.1)
+        ("rust-redox-termios" ,rust-redox-termios-0.1))))
     (home-page "https://gitlab.redox-os.org/redox-os/termion")
     (synopsis "Library for manipulating terminals")
     (description
      "This package provides a bindless library for manipulating terminals.")
-    (properties '((hidden? . #t)))
     (license license:expat)))
 
 (define-public rust-termios-0.3