Move namePrefix="" python packages out of python-packges.nix

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.
This commit is contained in:
Domen Kožar
2013-07-31 13:32:25 +02:00
parent ef659fa8c0
commit 332dd4854f
7 changed files with 97 additions and 86 deletions

View File

@@ -0,0 +1,23 @@
{ 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";
};
}