{ lib, python3, fetchFromGitHub, }: python3.pkgs.buildPythonApplication rec { pname = "zeekscript"; version = "1.3.6"; pyproject = true; src = fetchFromGitHub { owner = "zeek"; repo = "zeekscript"; tag = "v${version}"; hash = "sha256-yky9w1G4e/dfzOGHXqKGxRgD8Uw9X8oJDjT4avJ9wKM="; }; build-system = with python3.pkgs; [ setuptools ]; dependencies = with python3.pkgs; [ argcomplete tree-sitter tree-sitter-zeek ]; nativeCheckInputs = with python3.pkgs; [ pytestCheckHook pytest-cov-stub ]; checkInputs = with python3.pkgs; [ syrupy ]; pythonImportsCheck = [ "zeekscript" ]; meta = { description = "Zeek script formatter and analyzer"; homepage = "https://github.com/zeek/zeekscript"; changelog = "https://github.com/zeek/zeekscript/blob/${src.rev}/CHANGES"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fab tobim mdaniels5757 ]; }; }