mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: Add ruby-polyglot.
* gnu/packages/ruby.scm (ruby-polyglot): New variable.
This commit is contained in:
parent
ce52f2b11c
commit
f949b60e69
1 changed files with 20 additions and 0 deletions
|
@ -1290,6 +1290,26 @@ (define-public ruby-prawn-templates
|
|||
(home-page "https://github.com/prawnpdf/prawn-templates")
|
||||
(license %prawn-project-licenses)))
|
||||
|
||||
(define-public ruby-polyglot
|
||||
(package
|
||||
(name "ruby-polyglot")
|
||||
(version "0.3.5")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (rubygems-uri "polyglot" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1bqnxwyip623d8pr29rg6m8r0hdg08fpr2yb74f46rn1wgsnxmjr"))))
|
||||
(build-system ruby-build-system)
|
||||
(arguments `(#:tests? #f)) ;no test suite
|
||||
(synopsis "Augment @code{require} to load non-Ruby file types")
|
||||
(description "The Polyglot library allows a Ruby module to register a
|
||||
loader for the file type associated with a filename extension, and it augments
|
||||
@code{require} to find and load matching files.")
|
||||
(home-page "https://github.com/cjheath/polyglot")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ruby-ast
|
||||
(package
|
||||
(name "ruby-ast")
|
||||
|
|
Loading…
Reference in a new issue