diff --git a/pkgs/development/python-modules/python-jsonrpc-server/default.nix b/pkgs/development/python-modules/python-jsonrpc-server/default.nix index 0c4d77612b0b..027054920954 100644 --- a/pkgs/development/python-modules/python-jsonrpc-server/default.nix +++ b/pkgs/development/python-modules/python-jsonrpc-server/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/python-language-server/default.nix b/pkgs/development/python-modules/python-language-server/default.nix index 56c00fa11a9f..121a98335b64 100644 --- a/pkgs/development/python-modules/python-language-server/default.nix +++ b/pkgs/development/python-modules/python-language-server/default.nix @@ -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