[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63452] [PATCH 3/5] gnu: Add ruby-immutable-struct.
From: |
Yovan Naumovski |
Subject: |
[bug#63452] [PATCH 3/5] gnu: Add ruby-immutable-struct. |
Date: |
Thu, 11 May 2023 23:29:53 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 |
* 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