From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id a21KFZBo8l9fMAAA0tVLHw (envelope-from ) for ; Mon, 04 Jan 2021 01:00:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cIicEJBo8l81fgAA1q6Kng (envelope-from ) for ; Mon, 04 Jan 2021 01:00:00 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0E076940367 for ; Mon, 4 Jan 2021 01:00:00 +0000 (UTC) Received: from localhost ([::1]:43524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwDok-0001VU-WF for larch@yhetil.org; Sun, 03 Jan 2021 19:33:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwDo3-0001UA-SP for guix-patches@gnu.org; Sun, 03 Jan 2021 19:33:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55634) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwDo0-00068J-7H for guix-patches@gnu.org; Sun, 03 Jan 2021 19:33:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kwDo0-0002qS-50 for guix-patches@gnu.org; Sun, 03 Jan 2021 19:33:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45641] [PATCH 6/6] gnu: Add ruby-html-proofer. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Jan 2021 00:33:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45641 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45641@debbugs.gnu.org Received: via spool by 45641-submit@debbugs.gnu.org id=B45641.160972035110845 (code B ref 45641); Mon, 04 Jan 2021 00:33:04 +0000 Received: (at 45641) by debbugs.gnu.org; 4 Jan 2021 00:32:31 +0000 Received: from localhost ([127.0.0.1]:38933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwDnT-0002ol-2D for submit@debbugs.gnu.org; Sun, 03 Jan 2021 19:32:31 -0500 Received: from confino.investici.org ([212.103.72.250]:56177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwDnQ-0002nr-20 for 45641@debbugs.gnu.org; Sun, 03 Jan 2021 19:32:28 -0500 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4D8GmV0xsvz10yr; Mon, 4 Jan 2021 00:32:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1609720346; bh=HIt43iM+xtk3zE9XLQRhmoA6PggSy1+IR9t2KHXRopQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U9y03zfFxFfs9M99hsTsceLtk6l78QykkpR6g3pKtnUsqbtNmui0J5MPTVaBRNeCT 92ZMxjer9kJpTDurth2B2LwwyNLzg/BWvtXI2TnDJJxPOkdHYKPOY5/dV3TEcgEzPw TdbSJtgRI4riC1vAyvILroWFCM9Qp0SMJAP9AWT8= Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4D8GmV033Zz10vB; Mon, 4 Jan 2021 00:32:25 +0000 (UTC) From: Giacomo Leidi Date: Mon, 4 Jan 2021 01:32:15 +0100 Message-Id: <20210104003215.8932-6-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210104003215.8932-1-goodoldpaul@autistici.org> References: <20210104003215.8932-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Giacomo Leidi Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 5.17 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=autistici.org header.s=stigmate header.b=U9y03zfF; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 0E076940367 X-Spam-Score: 5.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: R0GaFgf9l7QU * 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