guix-commits
[Top][All Lists]
Advanced

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

17/94: gnu: Add ruby-psych.


From: guix-commits
Subject: 17/94: gnu: Add ruby-psych.
Date: Mon, 3 Jul 2023 06:06:21 -0400 (EDT)

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

commit 294b2f0eb987d663cb0905836b64ed4f6c2fdeba
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu Jun 22 10:52:55 2023 +0100

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 371c21f5a3..6a8bcda92a 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7509,6 +7509,33 @@ process tree data structure for the current host.")
     ;; There is no mention of the "or later" clause.
     (license license:gpl2)))
 
+(define-public ruby-psych
+  (package
+    (name "ruby-psych")
+    (version "5.1.0")
+    (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 name version))
+              (sha256
+               (base32
+                "0m3668y79jcv2h9p7w74awwdyz13rpfr24w4nzh3iz96kxwssz83"))))
+    (build-system ruby-build-system)
+    (inputs
+     (list libyaml))
+    (native-inputs
+     (list ruby-rake-compiler))
+    (synopsis "Ruby YAML parser and emitter")
+    (description
+     "Psych is a YAML parser and emitter.  Psych leverages libyaml for its
+YAML parsing and emitting capabilities.  In addition to wrapping libyaml,
+Psych also knows how to serialize and de-serialize most Ruby objects to and
+from the YAML format.")
+    (home-page "https://github.com/ruby/psych";)
+    (license license:expat)))
+
 (define-public ruby-utils
   (package
     (name "ruby-utils")



reply via email to

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