mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-04 23:02:38 +03:00
pythonPackages.python-language-server: 0.28.3 -> 0.29.1
Fixes a failing test due to a pylint update.
This commit is contained in:
parent
a260b9a484
commit
b754310a68
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder, isPy27
|
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder, isPy27
|
||||||
, backports_functools_lru_cache, configparser, futures, future, jedi, pluggy, python-jsonrpc-server
|
, backports_functools_lru_cache, configparser, futures, future, jedi, pluggy, python-jsonrpc-server, flake8
|
||||||
, pytest, mock, pytestcov, coverage, setuptools
|
, pytest, mock, pytestcov, coverage, setuptools
|
||||||
, # Allow building a limited set of providers, e.g. ["pycodestyle"].
|
, # Allow building a limited set of providers, e.g. ["pycodestyle"].
|
||||||
providers ? ["*"]
|
providers ? ["*"]
|
||||||
|
@ -21,13 +21,13 @@ in
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-language-server";
|
pname = "python-language-server";
|
||||||
version = "0.28.3";
|
version = "0.29.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "palantir";
|
owner = "palantir";
|
||||||
repo = "python-language-server";
|
repo = "python-language-server";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "16d8i43r75h0cijggkkmmpnycn29wlbjp63mgg3s4nbrxfa96x2k";
|
sha256 = "0hsp0h8vma8z6f0mg311hp59h6hayl7zzxmy295x5fl2l9iiakfv";
|
||||||
};
|
};
|
||||||
|
|
||||||
# The tests require all the providers, disable otherwise.
|
# The tests require all the providers, disable otherwise.
|
||||||
|
@ -44,7 +44,7 @@ buildPythonPackage rec {
|
||||||
HOME=$TEMPDIR pytest
|
HOME=$TEMPDIR pytest
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ setuptools jedi pluggy future python-jsonrpc-server ]
|
propagatedBuildInputs = [ setuptools jedi pluggy future python-jsonrpc-server flake8 ]
|
||||||
++ stdenv.lib.optional (withProvider "autopep8") autopep8
|
++ stdenv.lib.optional (withProvider "autopep8") autopep8
|
||||||
++ stdenv.lib.optional (withProvider "mccabe") mccabe
|
++ stdenv.lib.optional (withProvider "mccabe") mccabe
|
||||||
++ stdenv.lib.optional (withProvider "pycodestyle") pycodestyle
|
++ stdenv.lib.optional (withProvider "pycodestyle") pycodestyle
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue