aiodnsbrute: use python3.pkgs
- remove postPatch section
This commit is contained in:
parent
42a0ba411d
commit
8fc7ae71ce
|
@ -1,15 +1,12 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonApplication
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, aiodns
|
, python3
|
||||||
, click
|
|
||||||
, tqdm
|
|
||||||
, uvloop
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "aiodnsbrute";
|
pname = "aiodnsbrute";
|
||||||
version = "0.3.3";
|
version = "0.3.3";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "blark";
|
owner = "blark";
|
||||||
|
@ -18,19 +15,14 @@ buildPythonApplication rec {
|
||||||
hash = "sha256-cEpk71VoQJZfKeAZummkk7yjtXKSMndgo0VleYiMlWE=";
|
hash = "sha256-cEpk71VoQJZfKeAZummkk7yjtXKSMndgo0VleYiMlWE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# https://github.com/blark/aiodnsbrute/pull/8
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
prePatch = ''
|
aiodns
|
||||||
substituteInPlace setup.py --replace " 'asyncio', " ""
|
click
|
||||||
'';
|
tqdm
|
||||||
|
uvloop
|
||||||
propagatedBuildInputs = [
|
|
||||||
aiodns
|
|
||||||
click
|
|
||||||
tqdm
|
|
||||||
uvloop
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# no tests present
|
# Project no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
|
|
|
@ -1362,7 +1362,7 @@ with pkgs;
|
||||||
|
|
||||||
aioblescan = with python3Packages; toPythonApplication aioblescan;
|
aioblescan = with python3Packages; toPythonApplication aioblescan;
|
||||||
|
|
||||||
aiodnsbrute = python3Packages.callPackage ../tools/security/aiodnsbrute { };
|
aiodnsbrute = callPackage ../tools/security/aiodnsbrute { };
|
||||||
|
|
||||||
aircrack-ng = callPackage ../tools/networking/aircrack-ng { };
|
aircrack-ng = callPackage ../tools/networking/aircrack-ng { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue