pythonPackages.pylint: 2.5.3 -> 2.6.0

This commit is contained in:
Mario Rodas 2020-09-19 04:20:00 +00:00
parent 7fcc9a4eaa
commit fe5a611a35

View file

@ -1,18 +1,18 @@
{ stdenv, lib, buildPythonPackage, fetchPypi, pythonOlder, astroid, { stdenv, lib, buildPythonPackage, fetchPypi, pythonOlder, astroid, installShellFiles,
isort, mccabe, pytestCheckHook, pytest-benchmark, pytestrunner, toml }: isort, mccabe, pytestCheckHook, pytest-benchmark, pytestrunner, toml }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pylint"; pname = "pylint";
version = "2.5.3"; version = "2.6.0";
disabled = pythonOlder "3.4"; disabled = pythonOlder "3.5";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "7dd78437f2d8d019717dbf287772d0b2dbdfd13fc016aa7faa08d67bccc46adc"; sha256 = "bb4a908c9dadbc3aac18860550e870f58e1a02c9f2c204fdf5693d73be061210";
}; };
nativeBuildInputs = [ pytestrunner ]; nativeBuildInputs = [ pytestrunner installShellFiles ];
checkInputs = [ pytestCheckHook pytest-benchmark ]; checkInputs = [ pytestCheckHook pytest-benchmark ];
@ -43,12 +43,12 @@ buildPythonPackage rec {
postInstall = '' postInstall = ''
mkdir -p $out/share/emacs/site-lisp mkdir -p $out/share/emacs/site-lisp
cp "elisp/"*.el $out/share/emacs/site-lisp/ cp "elisp/"*.el $out/share/emacs/site-lisp/
installManPage man/*.1
''; '';
meta = with lib; { meta = with lib; {
homepage = "https://github.com/PyCQA/pylint"; homepage = "https://pylint.pycqa.org/";
description = "A bug and style checker for Python"; description = "A bug and style checker for Python";
platforms = platforms.all;
license = licenses.gpl1Plus; license = licenses.gpl1Plus;
maintainers = with maintainers; [ nand0p ]; maintainers = with maintainers; [ nand0p ];
}; };