git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #111576 from fabaff/htmltest

htmltest: init at 0.14.0

commitcd590bdc1e6f4ebe592c31545165bcbae8b1275d authorSandro <sandro.jaeckel@gmail.com> dateMon 1 Feb 2021, 18:21 (6 years ago) parentfdb43e968a21b0
2 files changed+34
pkgs/development/tools/htmltest/default.nix+32 pkgs/top-level/all-packages.nix+2
pkgs/development/tools/htmltest/default.nixnew file+32
@@ -0,0 +1,32 @@
1+{ buildGoModule
2+, fetchFromGitHub
3+, lib
4+}:
5+
6+buildGoModule rec {
7+ pname = "htmltest";
8+ version = "0.14.0";
9+
10+ src = fetchFromGitHub {
11+ owner = "wjdp";
12+ repo = pname;
13+ rev = "v${version}";
14+ sha256 = "0z2j54ywim1nl10vidcnbwhywyzanj4qd93ai533808wrm3ghwb6";
15+ };
16+
17+ vendorSha256 = "0zx3ii9crick647kslzwg4d39li6jds938f9j9dp287rhrlzjfbm";
18+
19+ # tests require network access
20+ doCheck = false;
21+
22+ meta = with lib; {
23+ description = "Tool to test generated HTML output";
24+ longDescription = ''
25+ htmltest runs your HTML output through a series of checks to ensure all your
26+ links, images, scripts references work, your alt tags are filled in, etc.
27+ '';
28+ homepage = "https://github.com/wjdp/htmltest";
29+ license = with licenses; [ mit ];
30+ maintainers = with maintainers; [ fab ];
31+ };
32+}
pkgs/top-level/all-packages.nix+2
@@ -8782,6 +8782,8 @@ in
87828782 inherit (darwin.apple_sdk.frameworks) SystemConfiguration Foundation;
87838783 };
87848784
8785+ htmltest = callPackage ../development/tools/htmltest { };
8786+
87858787 rcm = callPackage ../tools/misc/rcm {};
87868788
87878789 td = callPackage ../tools/misc/td { };