[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
34/41: gnu: Add ruby-heredoc-unindent.
From: |
julien lepiller |
Subject: |
34/41: gnu: Add ruby-heredoc-unindent. |
Date: |
Sat, 1 Sep 2018 17:10:19 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 73bfc125ef61980920cd01691032153deba4b98d
Author: Julien Lepiller <address@hidden>
Date: Sun Aug 26 17:10:37 2018 +0200
gnu: Add ruby-heredoc-unindent.
* gnu/packages/ruby.scm (ruby-heredoc-unindent): New variable.
---
gnu/packages/ruby.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index bfb98a0..34d8832 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5739,3 +5739,29 @@ is compatible with stylesheets designed for pygments.")
(description "Hashie is a collection of classes and mixins that make Ruby
hashes more powerful.")
(license license:expat)))
+
+(define-public ruby-heredoc-unindent
+ (package
+ (name "ruby-heredoc-unindent")
+ (version "1.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "heredoc_unindent" version))
+ (sha256
+ (base32
+ "14ijr2fsjwhrkjkcaz81d5xnfa4vvgvcflrff83avqw9klm011yw"))))
+ (build-system ruby-build-system)
+ (native-inputs
+ `(("ruby-hoe" ,ruby-hoe)))
+ (home-page "https://github.com/adrianomitre/heredoc_unindent")
+ (synopsis "Heredoc indentation cleaner")
+ (description "This gem removes common margin from indented strings, such
+as the ones produced by indented heredocs. In other words, it strips out
+leading whitespace chars at the beggining of each line, but only as much as
+the line with the smallest margin.
+
+It is acknowledged that many strings defined by heredocs are just code and
+fact is that most parsers are insensitive to indentation. If, however, the
+strings are to be used otherwise, be it for printing or testing, the extra
+indentation will probably be an issue and hence this gem.")
+ (license license:expat)))
- branch master updated (ead4669 -> 37a0f47), julien lepiller, 2018/09/01
- 41/41: gnu: Add ruby-jekyll-paginate-v2., julien lepiller, 2018/09/01
- 40/41: gnu: Add jekyll., julien lepiller, 2018/09/01
- 39/41: gnu: Add ruby-pathutil., julien lepiller, 2018/09/01
- 38/41: gnu: Add ruby-forwardable-extended., julien lepiller, 2018/09/01
- 37/41: gnu: Add ruby-liquid., julien lepiller, 2018/09/01
- 36/41: gnu: Add ruby-mercenary., julien lepiller, 2018/09/01
- 35/41: gnu: Add ruby-safe-yaml., julien lepiller, 2018/09/01
- 34/41: gnu: Add ruby-heredoc-unindent.,
julien lepiller <=
- 31/41: gnu: Add ruby-rouge., julien lepiller, 2018/09/01
- 33/41: gnu: Add ruby-hashie., julien lepiller, 2018/09/01
- 32/41: gnu: Add ruby-rouge-2., julien lepiller, 2018/09/01
- 30/41: gnu: Add ruby-em-websocket., julien lepiller, 2018/09/01
- 28/41: gnu: Add ruby-kramdown., julien lepiller, 2018/09/01
- 29/41: gnu: Add ruby-http-parser.rb., julien lepiller, 2018/09/01
- 27/41: gnu: Add ruby-prawn-table., julien lepiller, 2018/09/01
- 25/41: gnu: Add ruby-yard., julien lepiller, 2018/09/01
- 26/41: gnu: Add ruby-prawn., julien lepiller, 2018/09/01
- 24/41: gnu: Add ruby-pdf-core., julien lepiller, 2018/09/01