git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.python-language-server: relax some dependency versions
commit458914e06dd366088b4b32f3c91e0b5eedc451e8 authorEduardo Sánchez Muñoz <esm@eduardosm.net> dateTue 27 Apr 2021, 18:18 (6 years ago) parent5092d5c
1 file changed+7
pkgs/development/python-modules/python-language-server/default.nix+7
pkgs/development/python-modules/python-language-server/default.nix+7
@@ -30,6 +30,13 @@ buildPythonPackage rec {
3030 sha256 = "07x6jr4z20jxn03bxblwc8vk0ywha492cgwfhj7q97nb5cm7kx0q";
3131 };
3232
33+ postPatch = ''
34+ # Reading the changelog I don't expect an API break in pycodestyle and pyflakes
35+ substituteInPlace setup.py \
36+ --replace "pycodestyle>=2.6.0,<2.7.0" "pycodestyle>=2.6.0,<2.8.0" \
37+ --replace "pyflakes>=2.2.0,<2.3.0" "pyflakes>=2.2.0,<2.4.0"
38+ '';
39+
3340 propagatedBuildInputs = [ setuptools jedi pluggy future python-jsonrpc-server ujson ]
3441 ++ lib.optional (withProvider "autopep8") autopep8
3542 ++ lib.optional (withProvider "mccabe") mccabe