12 buildPythonPackage rec {
14 version = "3.1.0"; # Check whether the version is compatible with pylint
17 disabled = pythonOlder "3.8";
19 src = fetchFromGitHub {
22 rev = "refs/tags/v${version}";
23 hash = "sha256-+cTQHbqoucaNi7rPoyH6Cu07vZMS8KWn5C/A3NXRSwE=";
30 propagatedBuildInputs = lib.optionals (pythonOlder "3.11") [
44 changelog = "https://github.com/PyCQA/astroid/blob/${src.rev}/ChangeLog";
45 description = "An abstract syntax tree for Python with inference support";
46 homepage = "https://github.com/PyCQA/astroid";
47 license = licenses.lgpl21Plus;
48 maintainers = with maintainers; [ GaetanLepage ];