nixpkgs-suyu/pkgs/tools/security/knockpy/default.nix

39 lines
761 B
Nix
Raw Normal View History

2021-04-01 20:13:15 +02:00
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "knockpy";
2021-10-08 17:21:16 +02:00
version = "5.2.0";
2021-04-01 20:13:15 +02:00
disabled = python3.pythonOlder "3.6";
src = fetchFromGitHub {
owner = "guelfoweb";
repo = "knock";
rev = version;
2021-10-08 17:21:16 +02:00
sha256 = "sha256-QPOIpgJt+09zRvSavRxuVEN+GGk4Z1CYCXti37YaO7o=";
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
2021-04-01 20:13:15 +02: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 ];
};
}