17 buildPythonPackage rec {
19 version = "2.15.6"; # Check whether the version is compatible with pylint
22 disabled = pythonOlder "3.7.2";
24 src = fetchFromGitHub {
27 rev = "refs/tags/v${version}";
28 hash = "sha256-0oNNEVD8rYGkM11nGUD+XMwE7xgk7mJIaplrAXaECFg=";
36 propagatedBuildInputs = [
39 ] ++ lib.optionals (pythonOlder "3.11") [
41 ] ++ lib.optionals (!isPyPy && pythonOlder "3.8") [
52 # DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('tests.testdata.python3.data.path_pkg_resources_1.package')`.
53 "test_identify_old_namespace_package_protocol"
61 changelog = "https://github.com/PyCQA/astroid/blob/${src.rev}/ChangeLog";
62 description = "An abstract syntax tree for Python with inference support";
63 homepage = "https://github.com/PyCQA/astroid";
64 license = licenses.lgpl21Plus;
65 maintainers = with maintainers; [ ];