biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / security / knockpy / default.nix
blobc3ed52db593ba642c8be15167826fcd5367188c6
2   lib,
3   fetchFromGitHub,
4   python3,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "knockpy";
9   version = "7.0.1";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "guelfoweb";
14     repo = "knock";
15     rev = "refs/tags/${version}";
16     hash = "sha256-ALsSpygJlqYW/7Z44PZmBcIxfrtOPPrvuuMIOyFE5kE=";
17   };
19   pythonRelaxDeps = [
20     "beautifulsoup4"
21     "dnspython"
22     "pyopenssl"
23     "requests"
24     "tqdm"
25   ];
27   build-system = with python3.pkgs; [
28     setuptools
29   ];
31   dependencies = with python3.pkgs; [
32     beautifulsoup4
33     dnspython
34     pyopenssl
35     requests
36     tqdm
37   ];
39   # Project has no tests
40   doCheck = false;
42   pythonImportsCheck = [ "knock" ];
44   meta = with lib; {
45     description = "Tool to scan subdomains";
46     homepage = "https://github.com/guelfoweb/knock";
47     changelog = "https://github.com/guelfoweb/knock/releases/tag/${version}";
48     license = licenses.gpl3Only;
49     maintainers = with maintainers; [ fab ];
50     mainProgram = "knockpy";
51   };