guix-patches
[Top][All Lists]
Advanced

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

[bug#50537] [PATCH v2 10/27] gnu: Add ruby-lazy-object.


From: Stephen Paul Weber
Subject: [bug#50537] [PATCH v2 10/27] gnu: Add ruby-lazy-object.
Date: Wed, 27 Apr 2022 13:46:16 -0500

* gnu/packages/ruby.scm (ruby-lazy-object): New variable.
---
 gnu/packages/ruby.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 66409b91cb..bf364102ba 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12500,3 +12500,25 @@ plus extensible, lightweight validation and coercion.")
     (home-page
       "https://github.com/multiformats/ruby-multihash";)
     (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"))
+    (synopsis
+      "Object wrapper that forwards all calls to the reference object")
+    (description
+      "It's an object wrapper that forwards all calls to the reference object.
+This object is not created until the first method dispatch.")
+    (home-page "https://github.com/HornsAndHooves/lazy_object";)
+    (license license:expat)))
-- 
2.30.2





reply via email to

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