[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#59670] [PATCH 36/50] gnu: Add rust-terminal-size-0.2.
From: |
( |
Subject: |
[bug#59670] [PATCH 36/50] gnu: Add rust-terminal-size-0.2. |
Date: |
Tue, 29 Nov 2022 07:00:50 +0000 |
* gnu/packages/crates-io.scm (rust-terminal-size-0.2): New variable.
(rust-terminal-size-0.1): Inherit from RUST-TERMINAL-SIZE-0.2.
---
gnu/packages/crates-io.scm | 43 ++++++++++++++++++++++++++------------
1 file changed, 30 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 29d5b69c48..3fcabdc99e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58109,29 +58109,46 @@ (define-public rust-termcolor-0.3
#:cargo-inputs
(("rust-wincolor" ,rust-wincolor-0.1))))))
-(define-public rust-terminal-size-0.1
+(define-public rust-terminal-size-0.2
(package
(name "rust-terminal-size")
- (version "0.1.17")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "terminal-size" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1pq60ng1a7fjp597ifk1cqlz8fv9raz9xihddld1m1pfdia1lg33"))))
+ (version "0.2.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "terminal-size" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0yhza8sc6jkka6j0nq5sl749ckx1jagvxp3b38yhh4px6k291jj0"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; Tests require /dev/stderr
- #:cargo-inputs
- (("rust-libc" ,rust-libc-0.2)
- ("rust-winapi" ,rust-winapi-0.3))))
+ (list #:tests? #f ;tests require /dev/stderr
+ #:cargo-inputs
+ `(("rust-rustix" ,rust-rustix-0.35))))
(home-page "https://github.com/eminence/terminal-size")
(synopsis "Gets the size of your Linux or Windows terminal")
(description
"This package gets the size of your Linux or Windows terminal.")
(license (list license:expat license:asl2.0))))
+(define-public rust-terminal-size-0.1
+ (package
+ (inherit rust-terminal-size-0.2)
+ (name "rust-terminal-size")
+ (version "0.1.17")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "terminal-size" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1pq60ng1a7fjp597ifk1cqlz8fv9raz9xihddld1m1pfdia1lg33"))))
+ (arguments
+ (list #:tests? #f ;tests require /dev/stderr
+ #:cargo-inputs
+ `(("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-terminfo-0.7
(package
(name "rust-terminfo")
--
2.38.1
- [bug#59670] [PATCH 19/50] gnu: Add rust-windows-i686-msvc-0.42., (continued)
- [bug#59670] [PATCH 19/50] gnu: Add rust-windows-i686-msvc-0.42., (, 2022/11/29
- [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.,
( <=
- [bug#59670] [PATCH 40/50] gnu: Add rust-termion-2., (, 2022/11/29
- [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