8 python3.pkgs.buildPythonApplication rec {
13 src = fetchFromGitHub {
16 rev = "refs/tags/v${version}";
17 hash = "sha256-s67701Wk+UDRoSCQWC58k54eF/dcCcqn41SijOz6cbQ=";
20 pythonRelaxDeps = [ "validators" ];
22 build-system = with python3.pkgs; [ poetry-core ];
25 dependencies = with python3.pkgs; [
35 nativeCheckInputs = with python3.pkgs; [
41 export HOME=$(mktemp -d)
44 pythonImportsCheck = [ "troubadix" ];
54 description = "Linting tool for NASL files";
55 homepage = "https://github.com/greenbone/troubadix";
56 changelog = "https://github.com/greenbone/troubadix/releases/tag/v${version}";
57 license = licenses.gpl3Only;
58 maintainers = with maintainers; [ fab ];
59 mainProgram = "troubadix";