diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2020-12-29 22:43:01 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2020-12-29 22:43:01 +0100 |
commit | 166bd46415323633271ea12c7a1823ce8951d21b (patch) | |
tree | 9e756f9283aa3fbb408435c51926ca03befc2a98 /pkgs/tools/security/aiodnsbrute | |
parent | ad13f0e569cad5ec51c3b123b434ce62c8235124 (diff) |
aiodnsbrute: init at 0.3.2
Diffstat (limited to 'pkgs/tools/security/aiodnsbrute')
-rw-r--r-- | pkgs/tools/security/aiodnsbrute/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/tools/security/aiodnsbrute/default.nix b/pkgs/tools/security/aiodnsbrute/default.nix new file mode 100644 index 0000000000000..77f03e4174f6b --- /dev/null +++ b/pkgs/tools/security/aiodnsbrute/default.nix @@ -0,0 +1,45 @@ +{ lib +, buildPythonApplication +, fetchFromGitHub +, aiodns +, click +, tqdm +, uvloop +}: + +buildPythonApplication rec { + pname = "aiodnsbrute"; + version = "0.3.2"; + + src = fetchFromGitHub { + owner = "blark"; + repo = pname; + rev = "v${version}"; + sha256 = "0fs8544kx7vwvc97zpg4rs3lmvnb4vwika5g952rv3bfx4rv3bpg"; + }; + + # https://github.com/blark/aiodnsbrute/pull/8 + prePatch = '' + substituteInPlace setup.py --replace " 'asyncio', " "" + ''; + + propagatedBuildInputs = [ + aiodns + click + tqdm + uvloop + ]; + + # no tests present + doCheck = false; + + pythonImportsCheck = [ "aiodnsbrute.cli" ]; + + meta = with lib; { + description = "DNS brute force utility"; + homepage = "https://github.com/blark/aiodnsbrute"; + # https://github.com/blark/aiodnsbrute/issues/5 + license = with licenses; [ gpl3Only ]; + maintainers = with maintainers; [ fab ]; + }; +} |