2024-07-01 15:47:52 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
python3,
|
2021-04-05 15:23:46 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "knockpy";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "7.0.1";
|
2024-04-21 15:54:59 +00:00
|
|
|
pyproject = true;
|
2021-04-05 15:23:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "guelfoweb";
|
|
|
|
repo = "knock";
|
2023-01-11 07:51:40 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-ALsSpygJlqYW/7Z44PZmBcIxfrtOPPrvuuMIOyFE5kE=";
|
2021-04-05 15:23:46 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
pythonRelaxDeps = [
|
|
|
|
"beautifulsoup4"
|
|
|
|
"dnspython"
|
|
|
|
"pyopenssl"
|
2024-07-01 15:47:52 +00:00
|
|
|
"requests"
|
2024-04-21 15:54:59 +00:00
|
|
|
"tqdm"
|
|
|
|
];
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
build-system = with python3.pkgs; [
|
|
|
|
setuptools
|
|
|
|
];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
dependencies = with python3.pkgs; [
|
2021-04-05 15:23:46 +00:00
|
|
|
beautifulsoup4
|
2024-04-21 15:54:59 +00:00
|
|
|
dnspython
|
|
|
|
pyopenssl
|
2021-04-05 15:23:46 +00:00
|
|
|
requests
|
2024-04-21 15:54:59 +00:00
|
|
|
tqdm
|
2021-04-05 15:23:46 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
2021-07-03 03:11:41 +00:00
|
|
|
|
2024-07-01 15:47:52 +00:00
|
|
|
pythonImportsCheck = [ "knock" ];
|
2021-04-05 15:23:46 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool to scan subdomains";
|
|
|
|
homepage = "https://github.com/guelfoweb/knock";
|
2023-01-11 07:51:40 +00:00
|
|
|
changelog = "https://github.com/guelfoweb/knock/releases/tag/${version}";
|
2024-07-01 15:47:52 +00:00
|
|
|
license = licenses.gpl3Only;
|
2021-04-05 15:23:46 +00:00
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "knockpy";
|
2021-04-05 15:23:46 +00:00
|
|
|
};
|
|
|
|
}
|