Subject: [PATCH] gnu: Add ruby-gemtext.

From: gemmaro <[email-masked]>
Date: Wed, 14 Aug 2024 23:07:38 +0900

* gnu/packages/ruby.scm (ruby-gemtext): New variable.

Change-Id: I21957517a1a3be6b0f5d61a7ba1c8420a884a641
---
 gnu/packages/ruby.scm | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9547481caf..b47fea0391 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -32,7 +32,7 @@
 ;;; Copyright © 2022-2024 Remco van 't Veer <[email-masked]>
 ;;; Copyright © 2022 Taiju HIGASHI <[email-masked]>
 ;;; Copyright © 2023 Yovan Naumovski <[email-masked]>
-;;; Copyright © 2023 gemmaro <[email-masked]>
+;;; Copyright © 2023, 2024 gemmaro <[email-masked]>
 ;;; Copyright © 2023, 2024 Janneke Nieuwenhuizen <[email-masked]>
 ;;; Copyright © 2023, 2024 Zheng Junjie <[email-masked]>
 ;;; Copyright © 2023, 2024 Hartmut Goebel <[email-masked]>
@@ -7810,6 +7810,26 @@ (define-public ruby-tins
     (home-page "https://github.com/flori/tins")
     (license license:expat)))
 
+(define-public ruby-gemtext
+  (package
+    (name "ruby-gemtext")
+    (version "1.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "gemtext" version))
+       (sha256
+        (base32 "1z559f5z0zvwnqgnny0zf4mppiary020ljxwpw3bdxi2hr9aj3gp"))))
+    (build-system ruby-build-system)
+    (synopsis "Gemtext parser for Ruby")
+    (description
+     "This package is a Ruby parser library for Gemtext (hypertext format
+which is intended to serve as the native response format of the Gemini
+file transfer protocol) and produces a document object of various
+nodes.")
+    (home-page "https://github.com/exastencil/gemtext")
+    (license license:expat)))
+
 (define-public ruby-gem-hadar
   (package
     (name "ruby-gem-hadar")

base-commit: ca5ff8aa8b50ac317003d76cc4ea2a621d5a3819
-- 
2.45.2