{ lib, buildPythonPackage, fetchFromGitHub, lark, pydot, pytestCheckHook, setuptools, }: buildPythonPackage (finalAttrs: { pname = "amarna"; version = "0.1.5"; pyproject = true; src = fetchFromGitHub { owner = "crytic"; repo = "amarna"; tag = "v${finalAttrs.version}"; hash = "sha256-tyvHWBhanR7YH87MDWdXUsDEzZG6MgnbshezAbxWO+I="; }; build-system = [ setuptools ]; dependencies = [ lark pydot ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "amarna" ]; meta = { description = "Static-analyzer and linter for the Cairo programming language"; mainProgram = "amarna"; homepage = "https://github.com/crytic/amarna"; license = lib.licenses.agpl3Only; maintainers = [ ]; }; })