aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-04 14:10:11 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-12 11:57:32 +0300
commitede033176a4aaaaacf8c914c5be3787859f5d2d6 (patch)
treec231595f0fa6a3cbb9dfc0a9adb9ca294fd8aa76 /gnu
parent96bb8fd0657a98eb37e63d3b90bcfa1724c5c70d (diff)
downloadguix-ede033176a4aaaaacf8c914c5be3787859f5d2d6.tar.gz
guix-ede033176a4aaaaacf8c914c5be3787859f5d2d6.zip
gnu: Add rust-unindent.
* gnu/packages/crates-io.scm (rust-unindent): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
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))))