summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:06:33 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:44:00 +0300
commitda6a445a4055a2594b2bb79b9155880afa0bb997 (patch)
tree5645d14ef05ece34fefe53e38f87c041c8dfd118 /gnu/packages
parent438a9173b9beea9949422d375b91e3e31b601b6e (diff)
downloadguix-da6a445a4055a2594b2bb79b9155880afa0bb997.tar.gz
gnu: Add rust-textwrap-0.11.
* gnu/packages/rust-cbindgen.scm (rust-textwrap-0.11): New hidden
variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/rust-cbindgen.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index 7bed4a012f..bc9f21544a 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -771,3 +771,26 @@ directories.")
      "This package provides a bindless library for manipulating terminals.")
     (properties '((hidden? . #t)))
     (license license:expat)))
+
+(define rust-textwrap-0.11
+  (package
+    (name "rust-textwrap")
+    (version "0.11.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "textwrap" version))
+        (file-name (string-append name "-" version ".crate"))
+        (sha256
+         (base32
+          "0q5hky03ik3y50s9sz25r438bc4nwhqc6dqwynv4wylc807n29nk"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/mgeisler/textwrap")
+    (synopsis "Library for word wrapping, indenting, and dedenting strings")
+    (description
+     "Textwrap is a small library for word wrapping, indenting, and dedenting
+strings.  You can use it to format strings (such as help and error messages)
+for display in commandline applications.  It is designed to be efficient and
+handle Unicode characters correctly.")
+    (properties '((hidden? . #t)))
+    (license license:expat)))