Commit b57cc760 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

apachetomcatscanner: init at 3.5

parent e4299be2
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{ lib
, python3
, fetchFromGitHub
}:

python3.pkgs.buildPythonApplication rec {
  pname = "apachetomcatscanner";
  version = "3.5";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "p0dalirius";
    repo = "ApacheTomcatScanner";
    rev = "refs/tags/${version}";
    hash = "sha256-ChVVXUjm6y71iRs64Kv63oiOG1GSqmx6J0YiGtEI0ao=";
  };

  propagatedBuildInputs = with python3.pkgs; [
    requests
    sectools
    xlsxwriter
  ];

  # Project has no test
  doCheck = false;

  pythonImportsCheck = [
    "apachetomcatscanner"
  ];

  meta = with lib; {
    description = "Tool to scan for Apache Tomcat server vulnerabilities";
    homepage = "https://github.com/p0dalirius/ApacheTomcatScanner";
    changelog = "https://github.com/p0dalirius/ApacheTomcatScanner/releases/tag/${version}";
    license = with licenses; [ gpl2Only ];
    maintainers = with maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -1400,6 +1400,8 @@ with pkgs;
  apache-airflow = with python3.pkgs; toPythonApplication apache-airflow;
  apachetomcatscanner = callPackage ../tools/security/apachetomcatscanner { };
  airsonic = callPackage ../servers/misc/airsonic { };
  airspy = callPackage ../applications/radio/airspy { };