pythonPackages.python-language-server: fix python2.7 build
This commit is contained in:
parent
3ddbe024f7
commit
712816708e
@ -1,5 +1,5 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder, isPy27
|
||||
, configparser, futures, future, jedi, pluggy, python-jsonrpc-server
|
||||
, backports_functools_lru_cache, configparser, futures, future, jedi, pluggy, python-jsonrpc-server
|
||||
, pytest, mock, pytestcov, coverage
|
||||
, # Allow building a limited set of providers, e.g. ["pycodestyle"].
|
||||
providers ? ["*"]
|
||||
@ -54,7 +54,7 @@ buildPythonPackage rec {
|
||||
++ stdenv.lib.optional (withProvider "rope") rope
|
||||
++ stdenv.lib.optional (withProvider "yapf") yapf
|
||||
++ stdenv.lib.optional isPy27 configparser
|
||||
++ stdenv.lib.optional (pythonOlder "3.2") futures;
|
||||
++ stdenv.lib.optionals (pythonOlder "3.2") [ backports_functools_lru_cache futures ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/palantir/python-language-server;
|
||||
|
Loading…
Reference in New Issue
Block a user