Merge pull request #219514 from fabaff/aiodnsbrute-call
aiodnsbrute: use python3.pkgs
This commit is contained in:
@@ -1,44 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchFromGitHub
|
||||
, aiodns
|
||||
, click
|
||||
, tqdm
|
||||
, uvloop
|
||||
, python3
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "aiodnsbrute";
|
||||
version = "0.3.3";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "blark";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-cEpk71VoQJZfKeAZummkk7yjtXKSMndgo0VleYiMlWE=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-cEpk71VoQJZfKeAZummkk7yjtXKSMndgo0VleYiMlWE=";
|
||||
};
|
||||
|
||||
# https://github.com/blark/aiodnsbrute/pull/8
|
||||
prePatch = ''
|
||||
substituteInPlace setup.py --replace " 'asyncio', " ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiodns
|
||||
click
|
||||
tqdm
|
||||
uvloop
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
aiodns
|
||||
click
|
||||
tqdm
|
||||
uvloop
|
||||
];
|
||||
|
||||
# no tests present
|
||||
# Project no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "aiodnsbrute.cli" ];
|
||||
pythonImportsCheck = [
|
||||
"aiodnsbrute.cli"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "DNS brute force utility";
|
||||
homepage = "https://github.com/blark/aiodnsbrute";
|
||||
# https://github.com/blark/aiodnsbrute/issues/5
|
||||
changelog = "https://github.com/blark/aiodnsbrute/releases/tag/v${version}";
|
||||
license = with licenses; [ gpl3Only ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
||||
@@ -1362,7 +1362,7 @@ with pkgs;
|
||||
|
||||
aioblescan = with python3Packages; toPythonApplication aioblescan;
|
||||
|
||||
aiodnsbrute = python3Packages.callPackage ../tools/security/aiodnsbrute { };
|
||||
aiodnsbrute = callPackage ../tools/security/aiodnsbrute { };
|
||||
|
||||
aircrack-ng = callPackage ../tools/networking/aircrack-ng { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user