gnu: Add ruby-lazy-object.

* gnu/packages/ruby.scm (ruby-lazy-object): New variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
This commit is contained in:
Stephen Paul Weber 2022-05-10 08:05:22 -04:00 committed by Raghav Gururajan
parent ad2f8ee1b2
commit dde2e36394
No known key found for this signature in database
GPG key ID: 5F5816647F8BE551

View file

@ -12401,3 +12401,22 @@ (define-public ruby-multihashes
implementation for Ruby. A multihash is a digest with an embedded hash function
code")
(license license:expat)))
(define-public ruby-lazy-object
(package
(name "ruby-lazy-object")
(version "0.0.3")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "lazy_object" version))
(sha256
(base32 "08px15lahc28ik9smvw1hgamf792gd6gq0s4k94yq1h7jq25wjn8"))))
(build-system ruby-build-system)
(arguments
`(#:test-target "spec"))
(home-page "https://github.com/HornsAndHooves/lazy_object")
(synopsis "Object wrapper that forwards all calls to the reference object")
(description "LazyObject is an object wrapper that forwards all calls to the
reference object. This object is not created until the first method dispatch.")
(license license:expat)))