2021-04-01 20:13:15 +02:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "knockpy";
|
2022-03-04 10:52:32 +01:00
|
|
|
version = "5.3.0";
|
2021-04-01 20:13:15 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "guelfoweb";
|
|
|
|
repo = "knock";
|
|
|
|
rev = version;
|
2022-03-04 10:52:32 +01:00
|
|
|
hash = "sha256-aM78If4/zW/0CqVjZHDbHrrWDuU1VSVhX7dfy9FR098=";
|
2021-04-01 20:13:15 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
beautifulsoup4
|
|
|
|
colorama
|
2021-06-29 23:24:54 +02:00
|
|
|
matplotlib
|
|
|
|
networkx
|
|
|
|
pyqt5
|
2021-04-01 20:13:15 +02:00
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
2021-06-29 23:24:54 +02:00
|
|
|
|
2022-01-18 12:33:57 +01:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"knockpy"
|
|
|
|
];
|
2021-04-01 20:13:15 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool to scan subdomains";
|
|
|
|
homepage = "https://github.com/guelfoweb/knock";
|
|
|
|
license = with licenses; [ gpl3Only ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|