Subject: [bug#63452] [PATCH 3/5] gnu: Add ruby-immutable-struct.

From: Yovan Naumovski <[email-masked]>
Date: Thu, 11 May 2023 23:29:53 +0300

* gnu/packages/ruby.scm (ruby-immutable-struct): New variable.
---
  gnu/packages/ruby.scm | 20 ++++++++++++++++++++
  1 file changed, 20 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9eb3970a44..7b16d632ad 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7322,6 +7322,26 @@ (define-public ruby-term-ansicolor
      ;; There is no mention of the "or later" clause.
      (license license:gpl2)))
  
+(define-public ruby-immutable-struct
+  (package
+    (name "ruby-immutable-struct")
+    (version "2.4.1")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "immutable-struct" version))
+              (sha256
+               (base32
+                "1fsx4s9yaga0p4q7arcirhc5vrifh619k6gzr6z8a0xd935zprsi"))))
+    (build-system ruby-build-system)
+    (arguments
+     (list
+      #:tests? #f))
+    (synopsis "Ruby library for creating immutable struct classes")
+    (description
+     "Easily create value objects without the pain of Ruby's Struct (or its setters)")
+    (home-page "https://stitchfix.github.io/immutable-struct/")
+    (license license:expat)))
+
  (define-public ruby-terraform
    (package
    (name "ruby-terraform")
-- 
2.39.2