[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
200/311: gnu: Add rust-anstream-0.6.
From: |
guix-commits |
Subject: |
200/311: gnu: Add rust-anstream-0.6. |
Date: |
Sat, 28 Oct 2023 16:39:12 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit d685666702a783cd3c9030224752794717e7c959
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Fri Oct 27 20:31:24 2023 +0300
gnu: Add rust-anstream-0.6.
* gnu/packages/crates-io.scm (rust-anstream-0.6): New variable.
(rust-anstream-0.3): Inherit from rust-anstream-0.6.
Change-Id: I4e0fe6cb95eeecadf510c43fec2257365699fb96
---
gnu/packages/crates-io.scm | 41 +++++++++++++++++++++++++++++++++--------
1 file changed, 33 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f57b891018..6d02e60304 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3518,8 +3518,40 @@ it outputs messages to Android's logcat.")
escape codes.")
(license license:mpl2.0)))
+(define-public rust-anstream-0.6
+ (package
+ (name "rust-anstream")
+ (version "0.6.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "anstream" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0i2a9390vwhc42c5njz38n56jfwg17v64nqw9232j9gb2sz1xf9a"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1)
+ ("rust-anstyle-parse" ,rust-anstyle-parse-0.2)
+ ("rust-anstyle-query" ,rust-anstyle-query-1)
+ ("rust-anstyle-wincon" ,rust-anstyle-wincon-3)
+ ("rust-colorchoice" ,rust-colorchoice-1)
+ ("rust-utf8parse" ,rust-utf8parse-0.2))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.5)
+ ("rust-owo-colors" ,rust-owo-colors-3)
+ ("rust-proptest" ,rust-proptest-1)
+ ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.2))))
+ (home-page "https://github.com/rust-cli/anstyle")
+ (synopsis "Library for writing colored text to a terminal")
+ (description
+ "This package provides a simple cross platform library for writing colored
+text to a terminal.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-anstream-0.3
(package
+ (inherit rust-anstream-0.6)
(name "rust-anstream")
(version "0.3.2")
(source (origin
@@ -3529,7 +3561,6 @@ escape codes.")
(sha256
(base32
"0qzinx9c8zfq3xqpxzmlv6nrm3ymccr4n8gffkdmj31p50v4za0c"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-anstyle" ,rust-anstyle-1)
@@ -3543,13 +3574,7 @@ escape codes.")
(("rust-criterion" ,rust-criterion-0.4)
("rust-owo-colors" ,rust-owo-colors-3)
("rust-proptest" ,rust-proptest-1)
- ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1))))
- (home-page "https://github.com/rust-cli/anstyle")
- (synopsis "Library for writing colored text to a terminal")
- (description
- "This package provides a simple cross platform library for writing colored
-text to a terminal.")
- (license (list license:expat license:asl2.0))))
+ ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1))))))
(define-public rust-anstyle-1
(package
- 134/311: gnu: Add rust-sval-ref-2., (continued)
- 134/311: gnu: Add rust-sval-ref-2., guix-commits, 2023/10/28
- 159/311: gnu: rust-uuid-0.5: Only test the library., guix-commits, 2023/10/28
- 157/311: gnu: rust-heapless-0.7: Update to 0.7.16., guix-commits, 2023/10/28
- 163/311: gnu: rust-num-bigint-0.3: Update to 0.3.3., guix-commits, 2023/10/28
- 178/311: gnu: Add rust-temporary-0.6., guix-commits, 2023/10/28
- 176/311: gnu: Add rust-sc-0.2., guix-commits, 2023/10/28
- 177/311: gnu: Add rust-simplelog-0.12., guix-commits, 2023/10/28
- 192/311: gnu: rust-tokio-sync-0.2: Skip tests., guix-commits, 2023/10/28
- 193/311: gnu: rust-tokio-signal-0.2: Update to 0.2.9., guix-commits, 2023/10/28
- 196/311: gnu: rust-tokio-native-tls-0.3: Update to 0.3.1., guix-commits, 2023/10/28
- 200/311: gnu: Add rust-anstream-0.6.,
guix-commits <=
- 208/311: gnu: Add rust-clap-lex-0.6., guix-commits, 2023/10/28
- 214/311: gnu: rust-piper-0.2: Fix build., guix-commits, 2023/10/28
- 218/311: gnu: rust-rcgen-0.8: Fix build., guix-commits, 2023/10/28
- 221/311: gnu: rust-serde-spanned-0.6: Update to 0.6.4., guix-commits, 2023/10/28
- 171/311: gnu: Add rust-io-uring-0.5., guix-commits, 2023/10/28
- 174/311: gnu: Add rust-rstest-macros-0.13., guix-commits, 2023/10/28
- 180/311: gnu: rust-tinyfiledialogs-3: Update to 3.9.1., guix-commits, 2023/10/28
- 188/311: gnu: rust-git2-0.9: Update to 0.9.2., guix-commits, 2023/10/28
- 190/311: gnu: rust-want-0.3: Update to 0.3.1., guix-commits, 2023/10/28
- 195/311: gnu: rust-tokio-openssl-0.6: Update to 0.6.3., guix-commits, 2023/10/28