guix-commits
[Top][All Lists]
Advanced

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

40/53: gnu: Add rust-termcolor.


From: guix-commits
Subject: 40/53: gnu: Add rust-termcolor.
Date: Wed, 28 Aug 2019 09:55:06 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 0583bd635398bfed6d8066ebaff926f792359bb5
Author: Efraim Flashner <address@hidden>
Date:   Wed Aug 28 16:35:14 2019 +0300

    gnu: Add rust-termcolor.
    
    * gnu/packages/crates-io.scm (rust-termcolor): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b54d87e..c389fc8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1491,6 +1491,29 @@ and Jaro-Winkler.")
      "This package provides helper test traits for synstructure doctests.")
     (license license:expat)))
 
+(define-public rust-termcolor
+  (package
+    (name "rust-termcolor")
+    (version "1.0.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "termcolor" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0vjfsn1a8zvqhnrbygrz1id6yckwv1dncw3w4zj65qdx0f00kmln"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-wincolor" ,rust-wincolor))))
+    (home-page "https://github.com/BurntSushi/termcolor";)
+    (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:unlicense
+                   license:expat))))
+
 (define-public rust-termios
   (package
     (name "rust-termios")



reply via email to

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