diff options
| author | Julien Lepiller <julien@lepiller.eu> | 2018-08-26 17:12:19 +0200 |
|---|---|---|
| committer | Julien Lepiller <julien@lepiller.eu> | 2018-09-01 23:08:58 +0200 |
| commit | f8ae2ee528be1b9d92a61b6dc6b470821e645afd (patch) | |
| tree | 0475f8ec419bfe680d89439a5113085a8add5aba /gnu | |
| parent | 73bfc125ef61980920cd01691032153deba4b98d (diff) | |
gnu: Add ruby-safe-yaml.
* gnu/packages/ruby.scm (ruby-safe-yaml): New variable.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/ruby.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 34d883284da..3f0cfcfcfa6 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm | |||
| @@ -5765,3 +5765,26 @@ fact is that most parsers are insensitive to indentation. If, however, the | |||
| 5765 | strings are to be used otherwise, be it for printing or testing, the extra | 5765 | strings are to be used otherwise, be it for printing or testing, the extra |
| 5766 | indentation will probably be an issue and hence this gem.") | 5766 | indentation will probably be an issue and hence this gem.") |
| 5767 | (license license:expat))) | 5767 | (license license:expat))) |
| 5768 | |||
| 5769 | (define-public ruby-safe-yaml | ||
| 5770 | (package | ||
| 5771 | (name "ruby-safe-yaml") | ||
| 5772 | (version "1.0.4") | ||
| 5773 | (source (origin | ||
| 5774 | (method url-fetch) | ||
| 5775 | (uri (rubygems-uri "safe_yaml" version)) | ||
| 5776 | (sha256 | ||
| 5777 | (base32 | ||
| 5778 | "1hly915584hyi9q9vgd968x2nsi5yag9jyf5kq60lwzi5scr7094")))) | ||
| 5779 | (build-system ruby-build-system) | ||
| 5780 | (native-inputs | ||
| 5781 | `(("ruby-rspec" ,ruby-rspec) | ||
| 5782 | ("ruby-hashie" ,ruby-hashie) | ||
| 5783 | ("ruby-heredoc-unindent" ,ruby-heredoc-unindent))) | ||
| 5784 | (arguments `(#:test-target "spec" | ||
| 5785 | #:tests? #f));; FIXME: one failure | ||
| 5786 | (home-page "https://github.com/dtao/safe_yaml") | ||
| 5787 | (synopsis "YAML parser") | ||
| 5788 | (description "The SafeYAML gem provides an alternative implementation of | ||
| 5789 | YAML.load suitable for accepting user input in Ruby applications.") | ||
| 5790 | (license license:expat))) | ||
