nixpkgs/pkgs/development/python-modules/pylint/default.nix

24 lines
575 B
Nix
Raw Normal View History

{ stdenv, fetchurl, astroid, buildPythonPackage }:
buildPythonPackage rec {
name = "pylint-1.4.1";
namePrefix = "";
src = fetchurl {
2014-05-13 15:11:06 +01:00
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";
};
}