Unverified Commit dc94d939 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

apachetomcatscanner: 3.5 -> 3.7.2 (#346657)

parents fc6eb553 bc840cbe
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -5,14 +5,14 @@

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

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

  # Posted a PR for discussion upstream that can be followed:
@@ -21,6 +21,8 @@ python3.pkgs.buildPythonApplication rec {
    sed -i '/apachetomcatscanner=apachetomcatscanner\.__main__:main/d' setup.py
  '';

  build-system = with python3.pkgs; [ setuptools ];

  propagatedBuildInputs = with python3.pkgs; [
    requests
    sectools
@@ -39,7 +41,7 @@ python3.pkgs.buildPythonApplication rec {
    mainProgram = "ApacheTomcatScanner";
    homepage = "https://github.com/p0dalirius/ApacheTomcatScanner";
    changelog = "https://github.com/p0dalirius/ApacheTomcatScanner/releases/tag/${version}";
    license = with licenses; [ gpl2Only ];
    license = licenses.gpl2Only;
    maintainers = with maintainers; [ fab ];
  };
}