summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJoseph LaFreniere <joseph@lafreniere.xyz>2020-11-20 08:27:01 -0600
committerEfraim Flashner <efraim@flashner.co.il>2020-12-17 11:49:38 +0200
commitaed2f9d8f8d8077d633161c06005596441c179ca (patch)
tree2fd0d1f106106e31f5efc1d704c675bfcfb7cd41 /gnu
parent492826ecb4f91db044841a69e6e0465965859384 (diff)
downloadguix-aed2f9d8f8d8077d633161c06005596441c179ca.tar.gz
gnu: Add rust-tabwriter-1.
* gnu/packages/crates-io.scm (rust-tabwriter-1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-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 385160dd90..6c9c83e5ae 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")