2021-04-01 18:13:15 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "knockpy";
|
2021-10-08 15:21:16 +00:00
|
|
|
version = "5.2.0";
|
2021-04-01 18:13:15 +00:00
|
|
|
disabled = python3.pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "guelfoweb";
|
|
|
|
repo = "knock";
|
|
|
|
rev = version;
|
2021-10-08 15:21:16 +00:00
|
|
|
sha256 = "sha256-QPOIpgJt+09zRvSavRxuVEN+GGk4Z1CYCXti37YaO7o=";
|
2021-04-01 18:13:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
beautifulsoup4
|
|
|
|
colorama
|
2021-06-29 21:24:54 +00:00
|
|
|
matplotlib
|
|
|
|
networkx
|
|
|
|
pyqt5
|
2021-04-01 18:13:15 +00:00
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
2021-06-29 21:24:54 +00:00
|
|
|
|
2021-04-01 18:13:15 +00:00
|
|
|
pythonImportsCheck = [ "knockpy" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool to scan subdomains";
|
|
|
|
homepage = "https://github.com/guelfoweb/knock";
|
|
|
|
license = with licenses; [ gpl3Only ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|