mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 04:17:53 +00:00
apachetomcatscanner: add missing dependencies (#353617)
This commit is contained in:
commit
0c3b78b476
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
@ -21,27 +22,31 @@ python3.pkgs.buildPythonApplication rec {
|
||||
sed -i '/apachetomcatscanner=apachetomcatscanner\.__main__:main/d' setup.py
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"requests"
|
||||
"urllib3"
|
||||
];
|
||||
|
||||
build-system = with python3.pkgs; [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
requests
|
||||
sectools
|
||||
urllib3
|
||||
xlsxwriter
|
||||
];
|
||||
|
||||
# Project has no test
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"apachetomcatscanner"
|
||||
];
|
||||
pythonImportsCheck = [ "apachetomcatscanner" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to scan for Apache Tomcat server vulnerabilities";
|
||||
mainProgram = "ApacheTomcatScanner";
|
||||
homepage = "https://github.com/p0dalirius/ApacheTomcatScanner";
|
||||
changelog = "https://github.com/p0dalirius/ApacheTomcatScanner/releases/tag/${version}";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "ApacheTomcatScanner";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user