summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-03-09 16:49:23 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:22 +0300
commit7f43f000b7e7ac659626fc692b3d85e6da70fa7b (patch)
tree050a807c89c010b638ba8425b69807183a65d37d /gnu/packages
parent3339fba500be2a611b5cf7420be8a4e683e70c28 (diff)
downloadguix-7f43f000b7e7ac659626fc692b3d85e6da70fa7b.tar.gz
gnu: Add rust-nu-ansi-term-0.46.
* gnu/packages/crates-io.scm (rust-nu-ansi-term-0.46): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7141cab09a..e58c13fbe5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38161,6 +38161,33 @@ framework.")
 macros used in ntest.")
     (license license:expat)))
 
+(define-public rust-nu-ansi-term-0.46
+  (package
+    (name "rust-nu-ansi-term")
+    (version "0.46.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "nu-ansi-term" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 "115sywxh53p190lyw97alm14nc004qj5jm5lvdj608z84rbida3p"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-overload" ,rust-overload-0.1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs
+       (("rust-doc-comment" ,rust-doc-comment-0.3)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/nushell/nu-ansi-term")
+    (synopsis "Library for ANSI terminal colors and styles (bold, underline)")
+    (description
+     "This package provides a library for ANSI terminal colors and styles (bold,
+underline) in rust.")
+    (license license:expat)))
+
 (define-public rust-num-0.4
   (package
     (name "rust-num")