depot/third_party/nixpkgs/pkgs/tools/security/knockpy/default.nix

40 lines
725 B
Nix
Raw Normal View History

{ 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 ];
};
}