mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
332dd4854f
It doesn't make sense to build tools/applications with three different
python interpreter versions, so move them out of python modules list.
Also reverts 53ffc6e0ef
.
24 lines
589 B
Nix
24 lines
589 B
Nix
{ stdenv, fetchurl, pythonPackages }:
|
|
|
|
pythonPackages.buildPythonPackage rec {
|
|
name = "pylint-0.26.0";
|
|
namePrefix = "";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.logilab.org/pub/pylint/${name}.tar.gz";
|
|
sha256 = "1mg1ywpj0klklv63s2hwn5xwxi3wfwgnyz9d4pz32hzb53azq835";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pythonPackages.logilab_astng ];
|
|
|
|
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";
|
|
};
|
|
}
|