guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20/59: gnu: Add ruby-psych-3.


From: guix-commits
Subject: 20/59: gnu: Add ruby-psych-3.
Date: Wed, 28 Jun 2023 05:55:13 -0400 (EDT)

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

commit 8abcf38cff5221c7a9855215c3ff1590d088a2a4
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Mon Jun 26 20:37:48 2023 +0100

    gnu: Add ruby-psych-3.
    
    * gnu/packages/ruby.scm (ruby-psych-3): New variable.
---
 gnu/packages/ruby.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e899d995fa..d9b513186a 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7551,6 +7551,28 @@ from the YAML format.")
     (home-page "https://github.com/ruby/psych";)
     (license license:expat)))
 
+(define-public ruby-psych-3
+  (package
+    (inherit ruby-psych)
+    (version "3.3.4")
+    (source (origin
+              (method git-fetch)        ;for tests
+              (uri (git-reference
+                    (url "https://github.com/ruby/psych";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name "ruby-psych" version))
+              (sha256
+               (base32
+                "11f7bxbhaj5697izap7hfbiln6lfk5cks78a498mkyhs2ylhl0fc"))))
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "bundle" "exec" "rake" "default")))))))))
+
 (define-public ruby-utils
   (package
     (name "ruby-utils")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]