gnu: Add ruby-sorcerer.

* gnu/packages/ruby.scm (ruby-sorcerer): New variable.
This commit is contained in:
Maxim Cournoyer 2020-07-13 23:17:16 -04:00
parent 1f183ca0b2
commit 818b402cc5
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -631,6 +631,26 @@ (define-public ruby-rspec-expectations-2
(propagated-inputs
`(("ruby-diff-lcs" ,ruby-diff-lcs)))))
(define-public ruby-sorcerer
(package
(name "ruby-sorcerer")
(version "2.0.1")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "sorcerer" version))
(sha256
(base32
"0d32ha9pp9slpmsm027pkdpbr9vc5jn2m8rl6hwwx6a87m8cr58h"))))
(build-system ruby-build-system)
(synopsis "Ripper-style abstract syntax tree to Ruby source generator")
(description "Sorcerer generates Ruby code from a Ripper-like abstract
syntax tree (i.e. S-Expressions). Sorcerer is targeted mainly at small
snippets of Ruby code, expressable in a single line. Longer examples may be
re-sourced, but they will be rendered in a single line format.")
(home-page "https://github.com/rspec-given/sorcerer")
(license license:expat)))
(define-public ruby-rspec-its
(package
(name "ruby-rspec-its")