pythonPackages.pylint: 1.4.1 -> 1.5.4

This commit is contained in:
Frederik Rietdijk 2016-01-24 10:19:53 +01:00
parent 1a8c7c9030
commit 9441311e93
2 changed files with 26 additions and 25 deletions

View File

@ -1,23 +0,0 @@
{ stdenv, fetchurl, astroid, buildPythonPackage }:
buildPythonPackage rec {
name = "pylint-1.4.1";
namePrefix = "";
src = fetchurl {
url = "https://pypi.python.org/packages/source/p/pylint/${name}.tar.gz";
sha256 = "0c7hw1pcp5sqmc0v86zygw21isfgzbsqdmlb1sywncnlxmh30f1y";
};
propagatedBuildInputs = [ astroid ];
postInstall = ''
mkdir -p $out/share/emacs/site-lisp
cp "elisp/"*.el $out/share/emacs/site-lisp/
'';
meta = {
homepage = http://www.logilab.org/project/pylint;
description = "A bug and style checker for Python";
};
}

View File

@ -85,8 +85,6 @@ in modules // {
blivet = callPackage ../development/python-modules/blivet { };
pylint = callPackage ../development/python-modules/pylint { };
dbus = callPackage ../development/python-modules/dbus {
dbus = pkgs.dbus;
};
@ -15836,6 +15834,32 @@ in modules // {
};
};
pylint = buildPythonPackage rec {
name = "pylint-${version}";
version = "1.5.4";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pylint/${name}.tar.gz";
sha256 = "2fe3cc2fc66a56fdc35dbbc2bf1dd96a534abfc79ee6b2ad9ae4fe166e570c4b";
};
propagatedBuildInputs = with self; [ astroid ];
checkPhase = ''
cd pylint/test; ${python.interpreter} -m unittest discover -p "*test*"
'';
postInstall = ''
mkdir -p $out/share/emacs/site-lisp
cp "elisp/"*.el $out/share/emacs/site-lisp/
'';
meta = {
homepage = http://www.logilab.org/project/pylint;
description = "A bug and style checker for Python";
};
};
pyrr = buildPythonPackage rec {
name = "pyrr-${version}";
version = "0.7.2";