diff options
author | Domen Kožar <domen@dev.si> | 2013-07-31 13:32:25 +0200 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2013-07-31 13:34:11 +0200 |
commit | 332dd4854fac730ac8bddac010d17fa9d2cd45a4 (patch) | |
tree | 9f10090044bbb9b05e30be56f954a2f022870c08 /pkgs/development/python-modules/pylint/default.nix | |
parent | ef659fa8c0cb1b36c7f267e64d472ee28b4a67ab (diff) | |
download | nixlib-332dd4854fac730ac8bddac010d17fa9d2cd45a4.tar nixlib-332dd4854fac730ac8bddac010d17fa9d2cd45a4.tar.gz nixlib-332dd4854fac730ac8bddac010d17fa9d2cd45a4.tar.bz2 nixlib-332dd4854fac730ac8bddac010d17fa9d2cd45a4.tar.lz nixlib-332dd4854fac730ac8bddac010d17fa9d2cd45a4.tar.xz nixlib-332dd4854fac730ac8bddac010d17fa9d2cd45a4.tar.zst nixlib-332dd4854fac730ac8bddac010d17fa9d2cd45a4.zip |
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 53ffc6e0ef395a2bd7651423d9783ad8184be1d0.
Diffstat (limited to 'pkgs/development/python-modules/pylint/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pylint/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pylint/default.nix b/pkgs/development/python-modules/pylint/default.nix new file mode 100644 index 000000000000..d45d724ae589 --- /dev/null +++ b/pkgs/development/python-modules/pylint/default.nix @@ -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"; + }; +} |