diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-07-13 23:17:16 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-07-17 23:01:29 -0400 |
commit | 818b402cc55ff02ed3563c4f2f9dbaf2ecde79f1 (patch) | |
tree | 09b92750bc08a51e5ae285e68ef61dce44cf21e4 /gnu | |
parent | 1f183ca0b2eca997dff46a9cf94c302a972eb98c (diff) | |
download | guix-818b402cc55ff02ed3563c4f2f9dbaf2ecde79f1.tar.gz |
gnu: Add ruby-sorcerer.
* gnu/packages/ruby.scm (ruby-sorcerer): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ruby.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 2105b97d26..0b40a6fa5f 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -631,6 +631,26 @@ outcomes of a code example.") (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") |