8 python3.pkgs.buildPythonApplication rec {
9 pname = "route-detect";
13 src = fetchFromGitHub {
15 repo = "route-detect";
16 rev = "refs/tags/${version}";
17 hash = "sha256-4WkYjAQyteHJTJvSZoSfVUnBvsDQ3TWb5Ttp3uCgvdU=";
20 build-system = with python3.pkgs; [ poetry-core ];
22 dependencies = [ semgrep ];
24 nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];
26 pythonImportsCheck = [ "routes" ];
29 description = "Find authentication (authn) and authorization (authz) security bugs in web application routes";
30 homepage = "https://github.com/mschwager/route-detect";
31 changelog = "https://github.com/mschwager/route-detect/blob/${src.rev}/CHANGELOG.md";
32 license = lib.licenses.bsd3;
33 maintainers = with lib.maintainers; [ fab ];
34 mainProgram = "routes";