guix-commits
[Top][All Lists]
Advanced

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

37/45: gnu: Add rust-textwrap-0.11.


From: guix-commits
Subject: 37/45: gnu: Add rust-textwrap-0.11.
Date: Wed, 23 Oct 2019 03:49:17 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit da6a445a4055a2594b2bb79b9155880afa0bb997
Author: Efraim Flashner <address@hidden>
Date:   Wed Oct 23 10:06:33 2019 +0300

    gnu: Add rust-textwrap-0.11.
    
    * gnu/packages/rust-cbindgen.scm (rust-textwrap-0.11): New hidden
    variable.
---
 gnu/packages/rust-cbindgen.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index 7bed4a0..bc9f215 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)))



reply via email to

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