1{ buildGoModule
2, fetchFromGitHub
3, lib
4}:
5
6buildGoModule rec {
7 pname = "httpx";
8 version = "1.2.4";
9
10 src = fetchFromGitHub {
11 owner = "projectdiscovery";
12 repo = "httpx";
13 rev = "v${version}";
14 sha256 = "sha256-w4VELxmahqjfiMGXflSnhp5NKPi3HUucjxEUegljbVY=";
15 };
16
17 vendorSha256 = "sha256-9zLZyXrLvxwwkTwtpKxdGftzCZISZ/al98VnPiaMqGA=";
18
19 meta = with lib; {
20 description = "Fast and multi-purpose HTTP toolkit";
21 longDescription = ''
22 httpx is a fast and multi-purpose HTTP toolkit allow to run multiple
23 probers using retryablehttp library, it is designed to maintain the
24 result reliability with increased threads.
25 '';
26 homepage = "https://github.com/projectdiscovery/httpx";
27 license = licenses.mit;
28 maintainers = with maintainers; [ fab ];
29 };
30}