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

From: gemmaro <[email-masked]>
Date: Sun, 3 Nov 2024 10:34:58 +0900

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

Change-Id: I4a496a583357f820b39e9081ed4c4b73e134ffe5
---
 gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 5af1bb1cef..f715087d58 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -13552,6 +13552,30 @@ (define-public ruby-rdoc
 documentation from the command-line.")
     (license license:gpl2+)))
 
+(define-public ruby-hanna
+  (package
+    (name "ruby-hanna")
+    (version "1.5.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jeremyevans/hanna")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0wnk13ahvrqc0viw5sx4fka6apksh7b87wlmv6ja4wj4j3dyjrhf"))))
+    (build-system ruby-build-system)
+    (native-inputs (list ruby-minitest-hooks ruby-minitest-global-expectations))
+    (propagated-inputs (list ruby-rdoc))
+    (synopsis "Simple, beautiful, and easy to browse RDoc generator")
+    (description
+     "Hanna is a RDoc generator designed with simplicity, beauty and ease of
+browsing in mind.  This generator can also be configured to integrate
+with RubyGems and Rake tasks.")
+    (home-page "https://github.com/jeremyevans/hanna")
+    (license license:expat)))
+
 (define-public ruby-sass-listen
   (package
     (name "ruby-sass-listen")

base-commit: 639f79952e51a58b7fbca2a826dcc3df162300c1
-- 
2.46.0