2021-05-29 03:34:57 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "chaos";
|
2023-04-12 12:48:02 +00:00
|
|
|
version = "0.5.1";
|
2021-05-29 03:34:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "projectdiscovery";
|
|
|
|
repo = "chaos-client";
|
2022-11-27 09:42:12 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-04-12 12:48:02 +00:00
|
|
|
hash = "sha256-TpzTDNkfwL2CgEZwk2b5Zojhh61hXBm3PgjLkav6B3M=";
|
2021-05-29 03:34:57 +00:00
|
|
|
};
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
vendorHash = "sha256-Zu3TxBFTrXkAOmtUELjSdyzlE6CIr4SUBSdvaRnKy+k=";
|
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";
|
2022-11-27 09:42:12 +00:00
|
|
|
changelog = "https://github.com/projectdiscovery/chaos-client/releases/tag/v${version}";
|
2021-05-29 03:34:57 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|