2021-04-05 15:23:46 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "knockpy";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "6.1.0";
|
|
|
|
format = "setuptools";
|
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}";
|
2023-02-02 18:25:31 +00:00
|
|
|
hash = "sha256-O4tXq4pDzuTBEGAls2I9bfBRdHssF4rFBec4OtfUx6A=";
|
2021-04-05 15:23:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
beautifulsoup4
|
|
|
|
colorama
|
2021-07-03 03:11:41 +00:00
|
|
|
matplotlib
|
|
|
|
networkx
|
|
|
|
pyqt5
|
2021-04-05 15:23:46 +00:00
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
2021-07-03 03:11:41 +00:00
|
|
|
|
2022-01-19 23:45:15 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"knockpy"
|
|
|
|
];
|
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}";
|
2021-04-05 15:23:46 +00:00
|
|
|
license = with licenses; [ gpl3Only ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|