13 buildPythonPackage rec {
15 version = "3.2.2"; # Check whether the version is compatible with pylint
18 disabled = pythonOlder "3.8";
20 src = fetchFromGitHub {
23 rev = "refs/tags/v${version}";
24 hash = "sha256-Fc/AjMOz9D9SgkxXvMAhvJcZtj9BsPykg0DX4hEqdB8=";
27 nativeBuildInputs = [ setuptools ];
29 propagatedBuildInputs = lib.optionals (pythonOlder "3.11") [ typing-extensions ];
41 changelog = "https://github.com/PyCQA/astroid/blob/${src.rev}/ChangeLog";
42 description = "Abstract syntax tree for Python with inference support";
43 homepage = "https://github.com/PyCQA/astroid";
44 license = licenses.lgpl21Plus;
45 maintainers = with maintainers; [ GaetanLepage ];