From: Giacomo Leidi <goodoldpaul@autistici.org>
To: 45641@debbugs.gnu.org
Cc: Giacomo Leidi <goodoldpaul@autistici.org>
Subject: [bug#45641] [PATCH 6/6] gnu: Add ruby-html-proofer.
Date: Mon, 4 Jan 2021 01:32:15 +0100 [thread overview]
Message-ID: <20210104003215.8932-6-goodoldpaul@autistici.org> (raw)
In-Reply-To: <20210104003215.8932-1-goodoldpaul@autistici.org>
* gnu/packages/ruby.scm (ruby-html-proofer): New variable.
---
gnu/packages/ruby.scm | 44 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9784e9cde9..b83d62a318 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -11898,3 +11898,47 @@ their structure. Supports custom object formatting via plugins")
(home-page
"https://github.com/awesome-print/awesome_print")
(license license:expat)))
+
+(define-public ruby-html-proofer
+ (package
+ (name "ruby-html-proofer")
+ (version "3.18.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gjtorikian/html-proofer")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1pxb0fajb3l3lm7sqj548qwl7vx6sx3jy7n4cns9d4lqx7s9r9xb"))))
+ (build-system ruby-build-system)
+ ;; FIXME: Tests depend on rubocop-standard.
+ (arguments
+ `(#:tests? #f))
+ (native-inputs
+ `(("ruby-awesome-print" ,ruby-awesome-print)
+ ("ruby-redcarpet" ,ruby-redcarpet)
+ ("ruby-rspec" ,ruby-rspec)
+ ("ruby-rubocop" ,ruby-rubocop)
+ ("ruby-rubocop-performance" ,ruby-rubocop-performance)
+ ("ruby-pry-byebug" ,ruby-pry-byebug)))
+ (propagated-inputs
+ `(("ruby-addressable" ,ruby-addressable)
+ ("ruby-mercenary" ,ruby-mercenary)
+ ("ruby-nokogumbo" ,ruby-nokogumbo)
+ ("ruby-parallel" ,ruby-parallel)
+ ("ruby-rainbow" ,ruby-rainbow)
+ ("ruby-typhoeus" ,ruby-typhoeus)
+ ("ruby-yell" ,ruby-yell)))
+ (synopsis
+ "Test your rendered HTML files to make sure they're accurate")
+ (description
+ "HTMLProofer is a set of tests to validate your HTML output. These
+tests check if your image references are legitimate, if they have alt tags,
+if your internal links are working, and so on. It's intended to be an
+all-in-one checker for your output.")
+ (home-page
+ "https://github.com/gjtorikian/html-proofer")
+ (license license:expat)))
--
2.29.2
next prev parent reply other threads:[~2021-01-04 1:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-04 0:28 [bug#45641] [PATCH] Add ruby-html-proofer and dependencies paul
2021-01-04 0:32 ` [bug#45641] [PATCH 1/6] gnu: Add ruby-yell Giacomo Leidi
2021-01-04 0:32 ` [bug#45641] [PATCH 2/6] gnu: Add ruby-patron Giacomo Leidi
2021-01-04 0:32 ` [bug#45641] [PATCH 3/6] gnu: Add ruby-ethon Giacomo Leidi
2021-01-04 0:32 ` [bug#45641] [PATCH 4/6] gnu: Add ruby-typhoeus Giacomo Leidi
2021-01-04 0:32 ` [bug#45641] [PATCH 5/6] gnu: Add ruby-awesome-print Giacomo Leidi
2021-01-04 0:32 ` Giacomo Leidi [this message]
2021-02-05 21:00 ` bug#45641: [PATCH] Add ruby-html-proofer and dependencies Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210104003215.8932-6-goodoldpaul@autistici.org \
--to=goodoldpaul@autistici.org \
--cc=45641@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).