guix-commits
[Top][All Lists]
Advanced

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

10/12: gnu: Add ruby-zeitwerk.


From: guix-commits
Subject: 10/12: gnu: Add ruby-zeitwerk.
Date: Tue, 23 Feb 2021 09:06:56 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 8bad3c8ddf9f71000bd6339ac33d98d6f0e8f12c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Feb 23 15:26:11 2021 +0200

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index bd25bd5..1a86862 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12112,6 +12112,35 @@ which snapshots to consider and what files to 
include.")
      "https://github.com/hartator/wayback-machine-downloader";)
     (license license:expat)))
 
+(define-public ruby-zeitwerk
+  (package
+    (name "ruby-zeitwerk")
+    (version "2.4.2")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               ;; No tests in the released gem.
+               (url "https://github.com/fxn/zeitwerk";)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32
+          "119fgdyb57gmss2yvfwfr47wcy8nny38sai72446krpihyavpizw"))))
+    (build-system ruby-build-system)
+    (native-inputs
+     `(("ruby-minitest" ,ruby-minitest)
+       ("ruby-minitest-focus" ,ruby-minitest-focus)
+       ("ruby-minitest-reporters" ,ruby-minitest-reporters)))
+    (synopsis "Efficient and thread-safe code loader for Ruby")
+    (description
+     "Zeitwerk implements constant autoloading with Ruby semantics.  Each gem
+and application may have their own independent autoloader, with its own
+configuration, inflector, and logger.  Supports autoloading, reloading, and
+eager loading.")
+    (home-page "https://github.com/fxn/zeitwerk";)
+    (license license:expat)))
+
 (define-public ruby-wwtd
   (package
     (name "ruby-wwtd")



reply via email to

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