[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#59670] [PATCH 40/50] gnu: Add rust-termion-2.
From: |
( |
Subject: |
[bug#59670] [PATCH 40/50] gnu: Add rust-termion-2. |
Date: |
Tue, 29 Nov 2022 07:00:54 +0000 |
* gnu/packages/crates-io.scm (rust-termion-2): New variable.
(rust-termion-1): Inherit from RUST-TERMION-2.
---
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 35e2ad69b2..fb6e10f502 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58195,8 +58195,35 @@ (define-public rust-terminfo-0.7
(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
@@ -58207,19 +58234,13 @@ (define-public rust-termion-1
(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
--
2.38.1
- [bug#59670] [PATCH 25/50] gnu: Add rust-wasi-0.11., (continued)
- [bug#59670] [PATCH 25/50] gnu: Add rust-wasi-0.11., (, 2022/11/29
- [bug#59670] [PATCH 27/50] gnu: rust-mio-0.8: Update to 0.8.5., (, 2022/11/29
- [bug#59670] [PATCH 37/50] gnu: Add rust-clap-lex-0.2., (, 2022/11/29
- [bug#59670] [PATCH 30/50] gnu: rust-compiler-builtins-0.1: Update to 0.1.84., (, 2022/11/29
- [bug#59670] [PATCH 29/50] gnu: Add rust-io-lifetimes-0.7., (, 2022/11/29
- [bug#59670] [PATCH 35/50] gnu: Add rust-rustix-0.35., (, 2022/11/29
- [bug#59670] [PATCH 38/50] gnu: rust-unicode-linebreak-0.1: Update to 0.1.4., (, 2022/11/29
- [bug#59670] [PATCH 28/50] gnu: rust-socket2-0.4: Update to 0.4.7., (, 2022/11/29
- [bug#59670] [PATCH 34/50] gnu: rust-ctor-0.1: Update to 0.1.26., (, 2022/11/29
- [bug#59670] [PATCH 36/50] gnu: Add rust-terminal-size-0.2., (, 2022/11/29
- [bug#59670] [PATCH 40/50] gnu: Add rust-termion-2.,
( <=
- [bug#59670] [PATCH 24/50] gnu: rust-async-std-1: Update to 1.12.0., (, 2022/11/29
- [bug#59670] [PATCH 32/50] gnu: rust-errno-0.2: Update to 0.2.8., (, 2022/11/29
- [bug#59670] [PATCH 39/50] gnu: Add rust-unic-emoji-char-0.9., (, 2022/11/29
- [bug#59670] [PATCH 47/50] gnu: Add rust-clap-complete-fig-3., (, 2022/11/29
- [bug#59670] [PATCH 42/50] gnu: rust-clap-derive-3: Update to 3.2.18., (, 2022/11/29
- [bug#59670] [PATCH 43/50] gnu: rust-clap-3: Update to 3.2.23., (, 2022/11/29
- [bug#59670] [PATCH 33/50] gnu: rust-memoffset-0.6: Update to 0.6.5., (, 2022/11/29
- [bug#59670] [PATCH 48/50] gnu: Add rust-rstest-reuse-0.4., (, 2022/11/29
- [bug#59670] [PATCH 49/50] gnu: rust-which-4: Update to 4.3.0., (, 2022/11/29
- [bug#59670] [PATCH 45/50] gnu: rust-unicode-xid-0.2: Update to 0.2.4., (, 2022/11/29