guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

12/36: gnu: Add ruby-polyglot.


From: guix-commits
Subject: 12/36: gnu: Add ruby-polyglot.
Date: Fri, 17 Jul 2020 23:24:41 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit f949b60e69601fa9965f517ef2de0b7546331844
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Jul 13 12:00:24 2020 -0400

    gnu: Add ruby-polyglot.
    
    * gnu/packages/ruby.scm (ruby-polyglot): New variable.
---
 gnu/packages/ruby.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9a5b488..15a26ef 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1290,6 +1290,26 @@ of its many longstanding issues.")
     (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]