aiodnsbrute: use python3.pkgs

- remove postPatch section
This commit is contained in:
Fabian Affolter 2023-03-04 16:29:32 +01:00
parent 42a0ba411d
commit 8fc7ae71ce
2 changed files with 10 additions and 18 deletions

View file

@ -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 = [

View file

@ -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 { };