fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 buildGoModule,
3 fetchFromGitHub,
4 lib,
5}:
6
7buildGoModule rec {
8 pname = "htmltest";
9 version = "0.17.0";
10
11 src = fetchFromGitHub {
12 owner = "wjdp";
13 repo = "htmltest";
14 rev = "v${version}";
15 sha256 = "sha256-8tkk476kGEfHo3XGu3/0r6fhX1c4vkYiUACpw0uEu2g=";
16 };
17
18 vendorHash = "sha256-dTn5aYb5IHFbksmhkXSTJtI0Gnn8Uz0PMZPFzFKMo38=";
19
20 ldflags = [
21 "-w"
22 "-s"
23 "-X main.version=${version}"
24 ];
25
26 # tests require network access
27 doCheck = false;
28
29 meta = {
30 description = "Tool to test generated HTML output";
31 mainProgram = "htmltest";
32 longDescription = ''
33 htmltest runs your HTML output through a series of checks to ensure all your
34 links, images, scripts references work, your alt tags are filled in, etc.
35 '';
36 homepage = "https://github.com/wjdp/htmltest";
37 license = with lib.licenses; [ mit ];
38 maintainers = with lib.maintainers; [ fab ];
39 };
40}