diff --git a/pkgs/development/python-modules/pylint/default.nix b/pkgs/development/python-modules/pylint/default.nix index 7f4584f9c73..09890e8694f 100644 --- a/pkgs/development/python-modules/pylint/default.nix +++ b/pkgs/development/python-modules/pylint/default.nix @@ -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 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ed274bcdb1b..14041573472 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e0e6a0f6332..ab405e70af8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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; };