summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-05-22 16:35:37 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:37:51 +0300
commita5ddc82e03372ec36b56b000f0189c56cbe43ed3 (patch)
tree37e654be864fb925aad205572645756fc1970002 /gnu/packages
parent32465480adfe40725bab3675eec56c98888093b5 (diff)
downloadguix-a5ddc82e03372ec36b56b000f0189c56cbe43ed3.tar.gz
gnu: Add rust-anstyle-query-1.
* gnu/packages/crates-io.scm (rust-anstyle-query-1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index af40b7c648..e75cf82d5d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3082,6 +3082,25 @@ escape codes.")
     (description "This package provides ANSI text styling.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-anstyle-query-1
+  (package
+    (name "rust-anstyle-query")
+    (version "1.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "anstyle-query" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0js9bgpqz21g0p2nm350cba1d0zfyixsma9lhyycic5sw55iv8aw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.48))))
+    (home-page "https://github.com/rust-cli/anstyle")
+    (synopsis "Look up colored console capabilities")
+    (description "Look up colored console capabilities")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-anstyle-wincon-1
   (package
     (name "rust-anstyle-wincon")