2021-05-29 02:50:36 +01:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "chaos";
|
2022-02-11 02:34:08 +00:00
|
|
|
version = "0.2.0";
|
2021-05-29 02:50:36 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "projectdiscovery";
|
|
|
|
repo = "chaos-client";
|
|
|
|
rev = "v${version}";
|
2022-02-11 02:34:08 +00:00
|
|
|
sha256 = "sha256-uND88KGlUxGH3lGlcNdjSRsti/7FofruFJIcftdgzcE=";
|
2021-05-29 02:50:36 +01:00
|
|
|
};
|
|
|
|
|
2022-02-11 02:34:08 +00:00
|
|
|
vendorSha256 = "sha256-pzh/t8GeJXLIydSGoQ3vOzZ6xdHov6kdYgu2lKh/BNo=";
|
2021-05-29 02:50:36 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|