Merge pull request #107912 from fabaff/aiodnsbrute
aiodnsbrute: init at 0.3.2
This commit is contained in:
commit
3337ef145a
2 changed files with 47 additions and 0 deletions
45
pkgs/tools/security/aiodnsbrute/default.nix
Normal file
45
pkgs/tools/security/aiodnsbrute/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -697,6 +697,8 @@ in
|
|||
|
||||
aide = callPackage ../tools/security/aide { };
|
||||
|
||||
aiodnsbrute = python3Packages.callPackage ../tools/security/aiodnsbrute { };
|
||||
|
||||
aircrack-ng = callPackage ../tools/networking/aircrack-ng { };
|
||||
|
||||
airfield = callPackage ../tools/networking/airfield { };
|
||||
|
|
Loading…
Reference in a new issue