Commit 8fc7ae71 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

aiodnsbrute: use python3.pkgs

- remove postPatch section
parent 42a0ba41
Loading
Loading
Loading
Loading
+9 −17
Original line number Diff line number Diff line
{ 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 = [
+1 −1
Original line number Diff line number Diff line
@@ -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 { };