nixpkgs/pkgs/development/python-modules/astroid/1.6.nix
Martin Weinelt 7bd65d54f7 treewide: remove nand0p as maintainer
While looking at the sphinx package I noticed it was heavily
undermaintained, which is when we noticed nand0p has been inactive for
roughly 18 months. It is therefore prudent to assume they will not be
maintaining their packages, modules and tests.

- Their last contribution to nixpkgs was in 2019/12
- On 2021/05/08 I wrote them an email to the address listed in the
  maintainer-list, which they didn't reply to.
2021-05-17 01:50:49 +02:00

40 lines
1.0 KiB
Nix

{ lib, fetchPypi, buildPythonPackage
, lazy-object-proxy, six, wrapt, enum34, singledispatch, backports_functools_lru_cache
, pytest
}:
buildPythonPackage rec {
pname = "astroid";
version = "1.6.6";
src = fetchPypi {
inherit pname version;
sha256 = "d25869fc7f44f1d9fb7d24fd7ea0639656f5355fc3089cd1f3d18c6ec6b124c7";
};
# From astroid/__pkginfo__.py
propagatedBuildInputs = [
lazy-object-proxy
six
wrapt
enum34
singledispatch
backports_functools_lru_cache
];
checkInputs = [ pytest ];
checkPhase = ''
# test_builtin_help is broken
pytest -k "not test_builtin_help and not test_namespace_and_file_mismatch and not test_namespace_package_pth_support and not test_nested_namespace_import" astroid
'';
meta = with lib; {
description = "An abstract syntax tree for Python with inference support";
homepage = "https://github.com/PyCQA/astroid";
license = licenses.lgpl2;
platforms = platforms.all;
maintainers = with maintainers; [ ];
};
}