guix-commits
[Top][All Lists]
Advanced

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

01/17: gnu: Add rust-tabwriter-1.


From: guix-commits
Subject: 01/17: gnu: Add rust-tabwriter-1.
Date: Thu, 17 Dec 2020 05:24:32 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit aed2f9d8f8d8077d633161c06005596441c179ca
Author: Joseph LaFreniere <joseph@lafreniere.xyz>
AuthorDate: Fri Nov 20 08:27:01 2020 -0600

    gnu: Add rust-tabwriter-1.
    
    * gnu/packages/crates-io.scm (rust-tabwriter-1): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 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 385160d..6c9c83e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29490,6 +29490,33 @@ metadata, rather than programmatically in 
@file{build.rs}.  This makes those
 dependencies declarative, so other tools can read them as well.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-tabwriter-1
+  (package
+    (name "rust-tabwriter")
+    (version "1.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tabwriter" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "048i0mj3b07zlry9m5fl706y5bzdzgrswymqn32drakzk7y5q81n"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-unicode-width" ,rust-unicode-width-0.1))))
+    (home-page "https://github.com/BurntSushi/tabwriter";)
+    (synopsis "Elastic tabstops")
+    (description "@code{tabwriter} is a crate that implements
+@url{http://nickgravgaard.com/elastictabstops/index.html,elastic tabstops}.  It
+provides both a library for wrapping Rust @code{Writer}s and a small program
+that exposes the same functionality at the command line.")
+    (license (list license:unlicense license:expat))))
+
 (define-public rust-take-mut-0.2
   (package
     (name "rust-take-mut")



reply via email to

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