1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5
6buildGoModule rec {
7 pname = "httprobe";
8 version = "0.2";
9
10 src = fetchFromGitHub {
11 owner = "tomnomnom";
12 repo = "httprobe";
13 rev = "v${version}";
14 hash = "sha256-k/Ev+zpYF+DcnQvMbbRzoJ4co83q3pi/D9T4DhtGR/I=";
15 };
16
17 vendorHash = null;
18
19 ldflags = [ "-s" "-w" ];
20
21 meta = with lib; {
22 description = "Take a list of domains and probe for working HTTP and HTTPS servers";
23 homepage = "https://github.com/tomnomnom/httprobe";
24 license = licenses.mit;
25 maintainers = with maintainers; [ figsoda ];
26 };
27}