mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
python2Packages.astroid: init at 1.6.5
This commit is contained in:
parent
511d651e58
commit
4f09e05849
39
pkgs/development/python-modules/astroid/1.6.nix
Normal file
39
pkgs/development/python-modules/astroid/1.6.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{ lib, fetchPypi, buildPythonPackage, pythonOlder, isPyPy
|
||||||
|
, lazy-object-proxy, six, wrapt, enum34, singledispatch, backports_functools_lru_cache
|
||||||
|
, pytest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "astroid";
|
||||||
|
version = "1.6.5";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0fir4b67sm7shcacah9n61pvq313m523jb4q80sycrh3p8nmi6zw";
|
||||||
|
};
|
||||||
|
|
||||||
|
# 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" 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; [ nand0p ];
|
||||||
|
};
|
||||||
|
}
|
@ -22,8 +22,8 @@ buildPythonPackage rec {
|
|||||||
checkInputs = [ pytestrunner pytest ];
|
checkInputs = [ pytestrunner pytest ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A abstract syntax tree for Python with inference support";
|
description = "An abstract syntax tree for Python with inference support";
|
||||||
homepage = https://bitbucket.org/logilab/astroid;
|
homepage = https://github.com/PyCQA/astroid;
|
||||||
license = licenses.lgpl2;
|
license = licenses.lgpl2;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = with maintainers; [ nand0p ];
|
maintainers = with maintainers; [ nand0p ];
|
||||||
|
@ -736,7 +736,8 @@ in {
|
|||||||
# argparse is part of stdlib in 2.7 and 3.2+
|
# argparse is part of stdlib in 2.7 and 3.2+
|
||||||
argparse = null;
|
argparse = null;
|
||||||
|
|
||||||
astroid = callPackage ../development/python-modules/astroid { };
|
astroid = if isPy3k then callPackage ../development/python-modules/astroid { }
|
||||||
|
else callPackage ../development/python-modules/astroid/1.6.nix { };
|
||||||
|
|
||||||
attrdict = callPackage ../development/python-modules/attrdict { };
|
attrdict = callPackage ../development/python-modules/attrdict { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user