87f9c27ba9
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
30 lines
730 B
Nix
30 lines
730 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "chaos";
|
|
version = "0.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectdiscovery";
|
|
repo = "chaos-client";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-TpzTDNkfwL2CgEZwk2b5Zojhh61hXBm3PgjLkav6B3M=";
|
|
};
|
|
|
|
vendorHash = "sha256-Zu3TxBFTrXkAOmtUELjSdyzlE6CIr4SUBSdvaRnKy+k=";
|
|
|
|
subPackages = [
|
|
"cmd/chaos/"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Tool to communicate with Chaos DNS API";
|
|
homepage = "https://github.com/projectdiscovery/chaos-client";
|
|
changelog = "https://github.com/projectdiscovery/chaos-client/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|