Merge pull request #57994 from betaboon/python-language-server-0.25.0
Python language server 0.25.0
This commit is contained in:
commit
25335d6f03
@ -5,15 +5,19 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-jsonrpc-server";
|
pname = "python-jsonrpc-server";
|
||||||
version = "0.0.2";
|
version = "0.1.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "palantir";
|
owner = "palantir";
|
||||||
repo = "python-jsonrpc-server";
|
repo = "python-jsonrpc-server";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1xp6xipslw8d1yv05mjmhql07kz04ibci5psjrv6rapqi6jp4bgk";
|
sha256 = "0k55rpywghapk5db8dgp2jj5v5654q6m571s1gcz1mpn2qxkz69l";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i 's/version=versioneer.get_version(),/version="${version}",/g' setup.py
|
||||||
|
'';
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest mock pytestcov coverage
|
pytest mock pytestcov coverage
|
||||||
];
|
];
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
, pycodestyle ? null
|
, pycodestyle ? null
|
||||||
, pydocstyle ? null
|
, pydocstyle ? null
|
||||||
, pyflakes ? null
|
, pyflakes ? null
|
||||||
|
, pylint ? null
|
||||||
, rope ? null
|
, rope ? null
|
||||||
, yapf ? null
|
, yapf ? null
|
||||||
}:
|
}:
|
||||||
@ -20,13 +21,13 @@ in
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-language-server";
|
pname = "python-language-server";
|
||||||
version = "0.21.2";
|
version = "0.25.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "palantir";
|
owner = "palantir";
|
||||||
repo = "python-language-server";
|
repo = "python-language-server";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "11fvrpv1kymj2fzh8fhys4qk1xc64j1rbdrz252awyab7b3509i7";
|
sha256 = "10la48m10j4alfnpw0xw359fb833scf5kv7kjvh7djf6ij7cfsvq";
|
||||||
};
|
};
|
||||||
|
|
||||||
# The tests require all the providers, disable otherwise.
|
# The tests require all the providers, disable otherwise.
|
||||||
@ -49,6 +50,7 @@ buildPythonPackage rec {
|
|||||||
++ stdenv.lib.optional (withProvider "pycodestyle") pycodestyle
|
++ stdenv.lib.optional (withProvider "pycodestyle") pycodestyle
|
||||||
++ stdenv.lib.optional (withProvider "pydocstyle") pydocstyle
|
++ stdenv.lib.optional (withProvider "pydocstyle") pydocstyle
|
||||||
++ stdenv.lib.optional (withProvider "pyflakes") pyflakes
|
++ stdenv.lib.optional (withProvider "pyflakes") pyflakes
|
||||||
|
++ stdenv.lib.optional (withProvider "pylint") pylint
|
||||||
++ stdenv.lib.optional (withProvider "rope") rope
|
++ stdenv.lib.optional (withProvider "rope") rope
|
||||||
++ stdenv.lib.optional (withProvider "yapf") yapf
|
++ stdenv.lib.optional (withProvider "yapf") yapf
|
||||||
++ stdenv.lib.optional isPy27 configparser
|
++ stdenv.lib.optional isPy27 configparser
|
||||||
|
Loading…
x
Reference in New Issue
Block a user