[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/59: gnu: Add rust-termion-2.
From: |
guix-commits |
Subject: |
40/59: gnu: Add rust-termion-2. |
Date: |
Tue, 29 Nov 2022 16:08:21 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 30e23d455f5b47a39ebcfc34380b9c93d5b8a9d6
Author: ( <paren@disroot.org>
AuthorDate: Tue Nov 29 07:00:54 2022 +0000
gnu: Add rust-termion-2.
* gnu/packages/crates-io.scm (rust-termion-2): New variable.
(rust-termion-1): Inherit from RUST-TERMION-2.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
---
gnu/packages/crates-io.scm | 45 +++++++++++++++++++++++++++++++++------------
1 file changed, 33 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a438f54229..0200bee438 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58196,8 +58196,35 @@ writing colored text to a terminal.")
(description "Terminal capabilities with type-safe getters.")
(license license:wtfpl2)))
+(define-public rust-termion-2
+ (package
+ (name "rust-termion")
+ (version "2.0.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "termion" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "147c0a9l2dj4l8xhd7bb1f0f611lv6k0szacx3jwf21lkwviz735"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:tests? #f ;tests require a terminal
+ #:cargo-inputs
+ `(("rust-libc" ,rust-libc-0.2)
+ ("rust-numtoa" ,rust-numtoa-0.1)
+ ("rust-redox-syscall" ,rust-redox-syscall-0.2)
+ ("rust-redox-termios" ,rust-redox-termios-0.1)
+ ("rust-serde" ,rust-serde-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.")
+ (license license:expat)))
+
(define-public rust-termion-1
(package
+ (inherit rust-termion-2)
(name "rust-termion")
(version "1.5.5")
(source
@@ -58208,19 +58235,13 @@ writing colored text to a terminal.")
(sha256
(base32
"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.")
- (license license:expat)))
+ (list #:tests? #f ;tests require 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))))))
(define-public rust-termios-0.3
(package
- 38/59: gnu: rust-unicode-linebreak-0.1: Update to 0.1.4., (continued)
- 38/59: gnu: rust-unicode-linebreak-0.1: Update to 0.1.4., guix-commits, 2022/11/29
- 35/59: gnu: Add rust-rustix-0.35., guix-commits, 2022/11/29
- 36/59: gnu: Add rust-terminal-size-0.2., guix-commits, 2022/11/29
- 43/59: gnu: rust-clap-3: Update to 3.2.23., guix-commits, 2022/11/29
- 48/59: gnu: Add rust-rstest-reuse-0.4., guix-commits, 2022/11/29
- 49/59: gnu: rust-which-4: Update to 4.3.0., guix-commits, 2022/11/29
- 53/59: gnu: coeurl: Update to 0.2.1., guix-commits, 2022/11/29
- 54/59: gnu: hunspell, mythes: Update home page., guix-commits, 2022/11/29
- 55/59: gnu: powertop: Remove input labels., guix-commits, 2022/11/29
- 59/59: gnu: libfprint: Update to 1.94.5., guix-commits, 2022/11/29
- 40/59: gnu: Add rust-termion-2.,
guix-commits <=
- 44/59: gnu: rust-pathdiff-0.2: Update to 0.2.1., guix-commits, 2022/11/29
- 56/59: gnu: powertop: Update to 2.15., guix-commits, 2022/11/29