guix-commits
[Top][All Lists]
Advanced

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

17/100: gnu: Add ruby-psych.


From: guix-commits
Subject: 17/100: gnu: Add ruby-psych.
Date: Mon, 10 Jul 2023 03:27:25 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 68238b73b346bbf117cafc3bc0b9d00ef4a01e5f
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]