mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-18 17:01:51 -05:00
gnu: Add ruby-zeitwerk.
* gnu/packages/ruby.scm (ruby-zeitwerk): New variable.
This commit is contained in:
parent
fa0a244138
commit
8bad3c8ddf
1 changed files with 29 additions and 0 deletions
|
@ -12112,6 +12112,35 @@ (define-public ruby-wayback-machine-downloader
|
||||||
"https://github.com/hartator/wayback-machine-downloader")
|
"https://github.com/hartator/wayback-machine-downloader")
|
||||||
(license license:expat)))
|
(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
|
(define-public ruby-wwtd
|
||||||
(package
|
(package
|
||||||
(name "ruby-wwtd")
|
(name "ruby-wwtd")
|
||||||
|
|
Loading…
Reference in a new issue