1{ lib
2, fetchFromGitHub
3, python3
4}:
5
6python3.pkgs.buildPythonApplication rec {
7 pname = "knockpy";
8 version = "5.2.0";
9 disabled = python3.pythonOlder "3.6";
10
11 src = fetchFromGitHub {
12 owner = "guelfoweb";
13 repo = "knock";
14 rev = version;
15 sha256 = "sha256-QPOIpgJt+09zRvSavRxuVEN+GGk4Z1CYCXti37YaO7o=";
16 };
17
18 propagatedBuildInputs = with python3.pkgs; [
19 beautifulsoup4
20 colorama
21 matplotlib
22 networkx
23 pyqt5
24 requests
25 ];
26
27 # Project has no tests
28 doCheck = false;
29
30 pythonImportsCheck = [ "knockpy" ];
31
32 meta = with lib; {
33 description = "Tool to scan subdomains";
34 homepage = "https://github.com/guelfoweb/knock";
35 license = with licenses; [ gpl3Only ];
36 maintainers = with maintainers; [ fab ];
37 };
38}