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:
23
pkgs/development/python-modules/pylint/default.nix
Normal file
23
pkgs/development/python-modules/pylint/default.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
13
pkgs/development/python-modules/rbtools/default.nix
Normal file
13
pkgs/development/python-modules/rbtools/default.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ stdenv, fetchurl, pythonPackages }:
|
||||
|
||||
pythonPackages.buildPythonPackage rec {
|
||||
name = "rbtools-0.4.1";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.reviewboard.org/releases/RBTools/0.4/RBTools-0.4.1.tar.gz";
|
||||
sha256 = "1v0r7rfzrasj56s53mib51wl056g7ykh2y1c6dwv12r6hzqsycgv";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pythonPackages.setuptools ];
|
||||
}
|
||||
@@ -34,9 +34,10 @@ stdenv.mkDerivation rec {
|
||||
${python}/bin/${python.executable} setup.py test
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Utilities to facilitate the installation of Python packages";
|
||||
homepage = http://pypi.python.org/pypi/setuptools;
|
||||
licenses = [ "PSF" "ZPL" ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user