2020-12-29 21:43:01 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
2023-03-04 15:29:32 +00:00
|
|
|
, python3
|
2020-12-29 21:43:01 +00:00
|
|
|
}:
|
|
|
|
|
2023-03-04 15:29:32 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2020-12-29 21:43:01 +00:00
|
|
|
pname = "aiodnsbrute";
|
2022-03-01 18:34:43 +00:00
|
|
|
version = "0.3.3";
|
2023-03-04 15:29:32 +00:00
|
|
|
format = "setuptools";
|
2020-12-29 21:43:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "blark";
|
|
|
|
repo = pname;
|
2023-03-04 15:24:16 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-cEpk71VoQJZfKeAZummkk7yjtXKSMndgo0VleYiMlWE=";
|
2020-12-29 21:43:01 +00:00
|
|
|
};
|
|
|
|
|
2023-03-04 15:29:32 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
aiodns
|
|
|
|
click
|
|
|
|
tqdm
|
|
|
|
uvloop
|
2020-12-29 21:43:01 +00:00
|
|
|
];
|
|
|
|
|
2023-03-04 15:29:32 +00:00
|
|
|
# Project no tests
|
2020-12-29 21:43:01 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2023-03-04 15:24:16 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"aiodnsbrute.cli"
|
|
|
|
];
|
2020-12-29 21:43:01 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "DNS brute force utility";
|
|
|
|
homepage = "https://github.com/blark/aiodnsbrute";
|
2023-03-04 15:24:16 +00:00
|
|
|
changelog = "https://github.com/blark/aiodnsbrute/releases/tag/v${version}";
|
2020-12-29 21:43:01 +00:00
|
|
|
license = with licenses; [ gpl3Only ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|