nixpkgs/pkgs/tools/security/knockpy/default.nix
2022-03-04 09:52:32 +00:00

40 lines
725 B
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "knockpy";
version = "5.3.0";
src = fetchFromGitHub {
owner = "guelfoweb";
repo = "knock";
rev = version;
hash = "sha256-aM78If4/zW/0CqVjZHDbHrrWDuU1VSVhX7dfy9FR098=";
};
propagatedBuildInputs = with python3.pkgs; [
beautifulsoup4
colorama
matplotlib
networkx
pyqt5
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"knockpy"
];
meta = with lib; {
description = "Tool to scan subdomains";
homepage = "https://github.com/guelfoweb/knock";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}