Fix build for python3Packages.spyder

pylint (using Python 2.7) got propagated into python3Packages.spyder
so Python 2.7 setup-hook was used instead of python34.

Now that pylint is part of pythonPackages attribute set, pylint is
used with python3.4 as a base.
This commit is contained in:
Domen Kožar 2015-12-02 19:07:46 +01:00
parent 787be7b80e
commit 6cf4e29c4f
3 changed files with 7 additions and 8 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pythonPackages }:
{ stdenv, fetchurl, astroid, buildPythonPackage }:
pythonPackages.buildPythonPackage rec {
buildPythonPackage rec {
name = "pylint-1.4.1";
namePrefix = "";
@ -9,7 +9,7 @@ pythonPackages.buildPythonPackage rec {
sha256 = "0c7hw1pcp5sqmc0v86zygw21isfgzbsqdmlb1sywncnlxmh30f1y";
};
propagatedBuildInputs = with pythonPackages; [ astroid ];
propagatedBuildInputs = [ astroid ];
postInstall = ''
mkdir -p $out/share/emacs/site-lisp

View File

@ -9000,7 +9000,7 @@ let
pyGtkGlade = pythonPackages.pyGtkGlade;
pylint = callPackage ../development/python-modules/pylint { };
pylint = pythonPackages.pylint;
pyopenssl = pythonPackages.pyopenssl;
@ -15033,10 +15033,7 @@ let
simgrid = callPackage ../applications/science/misc/simgrid { };
spyder = callPackage ../applications/science/spyder {
inherit (pythonPackages) pyflakes rope sphinx numpy scipy matplotlib; # recommended
inherit (pythonPackages) ipython pep8; # optional
};
spyder = pythonPackages.spyder;
stellarium = callPackage ../applications/science/astronomy/stellarium { };

View File

@ -85,6 +85,8 @@ in modules // {
blivet = callPackage ../development/python-modules/blivet { };
pylint = callPackage ../development/python-modules/pylint { };
dbus = callPackage ../development/python-modules/dbus {
dbus = pkgs.dbus;
};