mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
pythonPackages.pylint: 2.5.3 -> 2.6.0
This commit is contained in:
parent
7fcc9a4eaa
commit
fe5a611a35
@ -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 ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user