guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

424/470: gnu: Add rust-nu-ansi-term-0.46.


From: guix-commits
Subject: 424/470: gnu: Add rust-nu-ansi-term-0.46.
Date: Thu, 16 Mar 2023 03:02:30 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 7356a40316eedd322340b2be250a73cb609d4481
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 9 16:49:23 2023 +0200

    gnu: Add rust-nu-ansi-term-0.46.
    
    * gnu/packages/crates-io.scm (rust-nu-ansi-term-0.46): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0c4bcbae3f..6ef87f4884 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37992,6 +37992,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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]