guix-commits
[Top][All Lists]
Advanced

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

02/08: gnu: Add ruby-hoe-markdown.


From: guix-commits
Subject: 02/08: gnu: Add ruby-hoe-markdown.
Date: Sun, 12 Dec 2021 17:28:59 -0500 (EST)

mbakke pushed a commit to branch core-updates-frozen
in repository guix.

commit 78bf278a802f3f3863880662b712fac05a00aed8
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Dec 11 15:00:47 2021 +0100

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7c9c7eb..c6a1471 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -9976,6 +9976,39 @@ generation.")
     (home-page "https://github.com/jbarnette/hoe-git";)
     (license license:expat)))
 
+(define-public ruby-hoe-markdown
+  (package
+    (name "ruby-hoe-markdown")
+    (version "1.4.0")
+    (home-page "https://github.com/flavorjones/hoe-markdown";)
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0wb0yjdx9gx9r0cahpx42pblvglgh1i9pdfxjavq7f40nan2g076"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(#:test-target "spec"
+       #:phases (modify-phases %standard-phases
+                  (add-before 'check 'disable-bundler-dependency
+                    (lambda _
+                      (substitute* "spec/spec_helper.rb"
+                        (("require.*bundler/setup.*")
+                         "")))))))
+    (native-inputs
+     `(("ruby-rspec" ,ruby-rspec)))
+    (propagated-inputs
+     `(("ruby-rake" ,ruby-rake)))
+    (synopsis "Hoe plugin with Markdown helpers")
+    (description
+     "This package provides a Hoe plugin with various Markdown helpers, which
+can be used to e.g. hyperlink Markdown documentation between project files.")
+    (license license:expat)))
+
 (define-public ruby-sequel
   (package
     (name "ruby-sequel")



reply via email to

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