Merge pull request #57994 from betaboon/python-language-server-0.25.0

Python language server 0.25.0
This commit is contained in:
Jörg Thalheim 2019-03-21 06:35:44 +00:00 committed by GitHub
commit 25335d6f03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

@ -5,15 +5,19 @@
buildPythonPackage rec {
pname = "python-jsonrpc-server";
version = "0.0.2";
version = "0.1.2";
src = fetchFromGitHub {
owner = "palantir";
repo = "python-jsonrpc-server";
rev = version;
sha256 = "1xp6xipslw8d1yv05mjmhql07kz04ibci5psjrv6rapqi6jp4bgk";
sha256 = "0k55rpywghapk5db8dgp2jj5v5654q6m571s1gcz1mpn2qxkz69l";
};
postPatch = ''
sed -i 's/version=versioneer.get_version(),/version="${version}",/g' setup.py
'';
checkInputs = [
pytest mock pytestcov coverage
];

@ -10,6 +10,7 @@
, pycodestyle ? null
, pydocstyle ? null
, pyflakes ? null
, pylint ? null
, rope ? null
, yapf ? null
}:
@ -20,13 +21,13 @@ in
buildPythonPackage rec {
pname = "python-language-server";
version = "0.21.2";
version = "0.25.0";
src = fetchFromGitHub {
owner = "palantir";
repo = "python-language-server";
rev = version;
sha256 = "11fvrpv1kymj2fzh8fhys4qk1xc64j1rbdrz252awyab7b3509i7";
sha256 = "10la48m10j4alfnpw0xw359fb833scf5kv7kjvh7djf6ij7cfsvq";
};
# The tests require all the providers, disable otherwise.
@ -49,6 +50,7 @@ buildPythonPackage rec {
++ stdenv.lib.optional (withProvider "pycodestyle") pycodestyle
++ stdenv.lib.optional (withProvider "pydocstyle") pydocstyle
++ stdenv.lib.optional (withProvider "pyflakes") pyflakes
++ stdenv.lib.optional (withProvider "pylint") pylint
++ stdenv.lib.optional (withProvider "rope") rope
++ stdenv.lib.optional (withProvider "yapf") yapf
++ stdenv.lib.optional isPy27 configparser