2023-05-26 01:50:06 +02:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "httprobe";
|
|
|
|
version = "0.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tomnomnom";
|
|
|
|
repo = "httprobe";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-k/Ev+zpYF+DcnQvMbbRzoJ4co83q3pi/D9T4DhtGR/I=";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = null;
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Take a list of domains and probe for working HTTP and HTTPS servers";
|
|
|
|
homepage = "https://github.com/tomnomnom/httprobe";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
2024-02-11 03:19:15 +01:00
|
|
|
mainProgram = "httprobe";
|
2023-05-26 01:50:06 +02:00
|
|
|
};
|
|
|
|
}
|