nixpkgs/pkgs/development/python-modules/pylint/default.nix
Domen Kožar 6cf4e29c4f 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.
2015-12-02 19:07:46 +01:00

23 lines
575 B
Nix

{ 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";
};
}