8e65f7f0cc
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
45 lines
891 B
Nix
45 lines
891 B
Nix
{ lib
|
|
, buildPythonApplication
|
|
, fetchFromGitHub
|
|
, aiodns
|
|
, click
|
|
, tqdm
|
|
, uvloop
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "aiodnsbrute";
|
|
version = "0.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "blark";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-cEpk71VoQJZfKeAZummkk7yjtXKSMndgo0VleYiMlWE=";
|
|
};
|
|
|
|
# https://github.com/blark/aiodnsbrute/pull/8
|
|
prePatch = ''
|
|
substituteInPlace setup.py --replace " 'asyncio', " ""
|
|
'';
|
|
|
|
propagatedBuildInputs = [
|
|
aiodns
|
|
click
|
|
tqdm
|
|
uvloop
|
|
];
|
|
|
|
# no tests present
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "aiodnsbrute.cli" ];
|
|
|
|
meta = with lib; {
|
|
description = "DNS brute force utility";
|
|
homepage = "https://github.com/blark/aiodnsbrute";
|
|
# https://github.com/blark/aiodnsbrute/issues/5
|
|
license = with licenses; [ gpl3Only ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|