gnu: ruby-immutable-struct: Update to 2.4.1-0.bb67ad8.

* gnu/packages/ruby.scm (ruby-immutable-struct): Update to 2.4.1-0.bb67ad8.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-02-16 01:33:43 +01:00 committed by Andreas Enge
parent dd0bb58ea7
commit ae18216500
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -7933,37 +7933,38 @@ of terminal output.")
(license license:gpl2))) (license license:gpl2)))
(define-public ruby-immutable-struct (define-public ruby-immutable-struct
(package (let ((commit "bb67ad8fa2117e8031c3f4333b4c25c8bcd3afff")
(name "ruby-immutable-struct") (revision "0"))
(version "2.4.1") (package
(source (name "ruby-immutable-struct")
(origin (version (git-version "2.4.1" revision commit))
(method git-fetch) (source
(uri (git-reference (origin
(url "https://github.com/stitchfix/immutable-struct") (method git-fetch)
(commit (string-append "v" version)))) (uri (git-reference
(file-name (git-file-name name version)) (url "https://github.com/stitchfix/immutable-struct")
(sha256 (commit commit)))
(base32 (file-name (git-file-name name version))
"17hlmy9jfwn3i5h2rwv832ycwcdqwxq7dkkd2yly28klwj0l52rq")))) (sha256
(build-system ruby-build-system) (base32
(arguments "0vsr2spypjf0i7ppg2a0gj3mjj5k3dyqsx224cbsxw51p6cc11c1"))))
(list (build-system ruby-build-system)
;; Issues with the lack of Set in Ruby 3 (arguments
#:ruby ruby-2.7 (list
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
(invoke "ruby" (which "rspec")))))))) (invoke "ruby" (which "rspec"))))))))
(native-inputs (native-inputs
(list ruby-rspec)) (list ruby-rspec))
(synopsis "Ruby library for creating immutable struct classes") (synopsis "Ruby library for creating immutable struct classes")
(description (description
"Easily create value objects without the pain of Ruby's Struct (or its setters)") "This package provides a library to help create value objects without
(home-page "https://stitchfix.github.io/immutable-struct/") the pain of Ruby's Struct (or its setters).")
(license license:expat))) (home-page "https://stitchfix.github.io/immutable-struct/")
(license license:expat))))
(define-public ruby-faker (define-public ruby-faker
(package (package