diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/security/aiodnsbrute/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/security/aiodnsbrute/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/security/aiodnsbrute/default.nix b/nixpkgs/pkgs/tools/security/aiodnsbrute/default.nix new file mode 100644 index 000000000000..c11255e6ab80 --- /dev/null +++ b/nixpkgs/pkgs/tools/security/aiodnsbrute/default.nix @@ -0,0 +1,39 @@ +{ lib +, fetchFromGitHub +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "aiodnsbrute"; + version = "0.3.3"; + format = "setuptools"; + + src = fetchFromGitHub { + owner = "blark"; + repo = pname; + rev = "refs/tags/v${version}"; + hash = "sha256-cEpk71VoQJZfKeAZummkk7yjtXKSMndgo0VleYiMlWE="; + }; + + propagatedBuildInputs = with python3.pkgs; [ + aiodns + click + tqdm + uvloop + ]; + + # Project no tests + doCheck = false; + + pythonImportsCheck = [ + "aiodnsbrute.cli" + ]; + + meta = with lib; { + description = "DNS brute force utility"; + homepage = "https://github.com/blark/aiodnsbrute"; + changelog = "https://github.com/blark/aiodnsbrute/releases/tag/v${version}"; + license = with licenses; [ gpl3Only ]; + maintainers = with maintainers; [ fab ]; + }; +} |