aiodnsbrute: use python3.pkgs
- remove postPatch section
This commit is contained in:
parent
42a0ba411d
commit
8fc7ae71ce
|
@ -1,15 +1,12 @@
|
|||
{ 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";
|
||||
|
@ -18,19 +15,14 @@ buildPythonApplication rec {
|
|||
hash = "sha256-cEpk71VoQJZfKeAZummkk7yjtXKSMndgo0VleYiMlWE=";
|
||||
};
|
||||
|
||||
# https://github.com/blark/aiodnsbrute/pull/8
|
||||
prePatch = ''
|
||||
substituteInPlace setup.py --replace " 'asyncio', " ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
aiodns
|
||||
click
|
||||
tqdm
|
||||
uvloop
|
||||
];
|
||||
|
||||
# no tests present
|
||||
# Project no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue