2021-05-29 03:34:57 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "chaos";
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "0.2.0";
|
2021-05-29 03:34:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "projectdiscovery";
|
|
|
|
repo = "chaos-client";
|
|
|
|
rev = "v${version}";
|
2022-02-20 05:27:41 +00:00
|
|
|
sha256 = "sha256-uND88KGlUxGH3lGlcNdjSRsti/7FofruFJIcftdgzcE=";
|
2021-05-29 03:34:57 +00:00
|
|
|
};
|
|
|
|
|
2022-02-20 05:27:41 +00:00
|
|
|
vendorSha256 = "sha256-pzh/t8GeJXLIydSGoQ3vOzZ6xdHov6kdYgu2lKh/BNo=";
|
2021-05-29 03:34:57 +00:00
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"cmd/chaos/"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool to communicate with Chaos DNS API";
|
|
|
|
homepage = "https://github.com/projectdiscovery/chaos-client";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|