GNU bug report logs - #76314
[PATCH ruby-team 00/71] Update ruby.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Sun, 16 Feb 2025 00:29:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 76314 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [bug#76314] [PATCH ruby-team 15/71] gnu: ruby-immutable-struct: Update to 2.4.1-0.bb67ad8.
Date: Sun, 16 Feb 2025 01:33:43 +0100
* gnu/packages/ruby.scm (ruby-immutable-struct): Update to 2.4.1-0.bb67ad8.
---
 gnu/packages/ruby.scm | 63 ++++++++++++++++++++++---------------------
 1 file changed, 32 insertions(+), 31 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index cb61ee11fc..46512b3489 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7924,37 +7924,38 @@ of terminal output.")
     (license license:gpl2)))
 
 (define-public ruby-immutable-struct
-  (package
-    (name "ruby-immutable-struct")
-    (version "2.4.1")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/stitchfix/immutable-struct")
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32
-         "17hlmy9jfwn3i5h2rwv832ycwcdqwxq7dkkd2yly28klwj0l52rq"))))
-    (build-system ruby-build-system)
-    (arguments
-     (list
-      ;; Issues with the lack of Set in Ruby 3
-      #:ruby ruby-2.7
-      #:phases
-      #~(modify-phases %standard-phases
-          (replace 'check
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                (invoke "ruby" (which "rspec"))))))))
-    (native-inputs
-     (list ruby-rspec))
-    (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)))
+  (let ((commit "bb67ad8fa2117e8031c3f4333b4c25c8bcd3afff")
+        (revision "0"))
+    (package
+      (name "ruby-immutable-struct")
+      (version (git-version "2.4.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/stitchfix/immutable-struct")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0vsr2spypjf0i7ppg2a0gj3mjj5k3dyqsx224cbsxw51p6cc11c1"))))
+      (build-system ruby-build-system)
+      (arguments
+       (list
+        #:phases
+        #~(modify-phases %standard-phases
+            (replace 'check
+              (lambda* (#:key tests? #:allow-other-keys)
+                (when tests?
+                  (invoke "ruby" (which "rspec"))))))))
+      (native-inputs
+       (list ruby-rspec))
+      (synopsis "Ruby library for creating immutable struct classes")
+      (description
+       "This package provides a library to help 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-faker
   (package
-- 
2.48.1





This bug report was last modified 88 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.