gnu: Add ruby-zeitwerk.

* gnu/packages/ruby.scm (ruby-zeitwerk): New variable.
This commit is contained in:
Efraim Flashner 2021-02-23 15:26:11 +02:00
parent fa0a244138
commit 8bad3c8ddf
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -12112,6 +12112,35 @@ (define-public ruby-wayback-machine-downloader
"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")