[bug#36920,39/43] gnu: Add rust-unindent.
diff mbox series

Message ID 729d1a9f94f02e365f06bf58f38e5bfabb918d58.1564918220.git.efraim@flashner.co.il
State New
Headers show
Series
  • [bug#36920,01/43] gnu: crates-io.scm: Sort packages alphabetically.
Related show

Commit Message

Efraim Flashner Aug. 4, 2019, 11:34 a.m. UTC
* gnu/packages/crates-io.scm (rust-unindent): New variable.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 142f4d1d46..0e81e1e9d3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -842,3 +842,23 @@  with the Unicode character database.")
 or XID_Continue properties according to Unicode Standard Annex #31.")
     ;; Dual licensed.
     (license (list license:asl2.0 license:expat))))
+
+(define-public rust-unindent
+  (package
+    (name "rust-unindent")
+    (version "0.1.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "unindent" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "1x21ilf78aqcq9xzb9b7i628wm10rhk0jp0chlv06rkc690l8jw3"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/dtolnay/indoc")
+    (synopsis "Remove a column of leading whitespace from a string")
+    (description "This crate allows you to remove a column of leading
+whitespace from a string.")
+    (license (list license:asl2.0
+                   license:expat))))