guix_mirror_bot pushed a commit to branch ruby-team
in repository guix.

commit 70c4da17116c6006eb7bb893dd3125c0159be129
Author: Yan Abu Arab <[email protected]>
AuthorDate: Sat Dec 20 02:20:36 2025 +0200

    gnu: Add ruby-ostruct.
    
    * gnu/packages/ruby-xyz.scm (ruby-ostruct): New variable.
    
    Change-Id: Id3aeac1448ea8eea2dc2d18f1f9948695b45a128
    Signed-off-by: Steve George <[email protected]>
---
 gnu/packages/ruby-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index cc01e92edc..4cc292dfb7 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -427,6 +427,30 @@ modules can be included into each other modules and saving 
all chain, including
     (home-page "https://github.com/AlexWayfer/module_methods";)
     (license license:expat)))
 
+(define-public ruby-ostruct
+  (package
+    (name "ruby-ostruct")
+    (version "0.6.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "ostruct" version))
+       (sha256
+        (base32 "04nrir9wdpc4izqwqbysxyly8y7hsfr4fsv69rw91lfi9d5fv8lm"))))
+    (arguments
+     (list
+      ;; no tests
+      #:tests? #f))
+    (build-system ruby-build-system)
+    (synopsis "Class to build custom data structures, similar to a Hash")
+    (description
+     "An OpenStruct is a data structure, similar to a Hash, that
+allows the definition of arbitrary attributes with their accompanying values.
+This is accomplished by using Ruby's metaprogramming to define methods on the
+class itself.")
+    (home-page "https://github.com/ruby/ostruct";)
+    (license (list license:bsd-2))))
+
 (define-public ruby-rsync
   (package
     (name "ruby-rsync")

Reply via email to