aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-07 12:02:27 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:33 +0200
commit0ae2e9c43a762fc2acccbc658d19fa92de40c4d6 (patch)
treea6c5e951b23dc5a80d8c98d81f11418ea7537ecd /gnu/packages/crates-io.scm
parent8fd883f0e3e5a697f5fa13c1e8fd52f00c896ab4 (diff)
downloadguix-0ae2e9c43a762fc2acccbc658d19fa92de40c4d6.tar.gz
guix-0ae2e9c43a762fc2acccbc658d19fa92de40c4d6.zip
gnu: Add rust-anstyle-stream-0.2.
* gnu/packages/crates-io.scm (rust-anstyle-stream-0.2): New variable. Change-Id: If0fa3cca5e382c1b57168ee3c77a18e1edc4e4e7
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ed6fc2d713..f12a6d36e7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2203,6 +2203,37 @@ text to a terminal.")
(description "Look up colored console capabilities")
(license (list license:expat license:asl2.0))))
+(define-public rust-anstyle-stream-0.2
+ (package
+ (name "rust-anstyle-stream")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "anstyle-stream" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1l695l55mwxfz3iaw524cy89j57bm5y9y8xv63z5bldslmmrd0qk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-0.3)
+ ("rust-anstyle-parse" ,rust-anstyle-parse-0.1)
+ ("rust-anstyle-wincon" ,rust-anstyle-wincon-0.2)
+ ("rust-concolor-override" ,rust-concolor-override-1)
+ ("rust-concolor-query" ,rust-concolor-query-0.3)
+ ("rust-is-terminal" ,rust-is-terminal-0.4)
+ ("rust-utf8parse" ,rust-utf8parse-0.2))
+ #:cargo-development-inputs
+ (("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))))
+
(define-public rust-antidote-1
(package
(name "rust-antidote")