mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 20:02:14 +03:00
spyder: fix build
This commit is contained in:
parent
458914e06d
commit
f9776d3db7
@ -3,7 +3,7 @@
|
|||||||
keyring, numpydoc, qtconsole, qtawesome, nbconvert, mccabe, pyopengl,
|
keyring, numpydoc, qtconsole, qtawesome, nbconvert, mccabe, pyopengl,
|
||||||
cloudpickle, pygments, spyder-kernels, qtpy, pyzmq, chardet, qdarkstyle,
|
cloudpickle, pygments, spyder-kernels, qtpy, pyzmq, chardet, qdarkstyle,
|
||||||
watchdog, python-language-server, pyqtwebengine, atomicwrites, pyxdg,
|
watchdog, python-language-server, pyqtwebengine, atomicwrites, pyxdg,
|
||||||
diff-match-patch, three-merge, pyls-black, pyls-spyder, flake8
|
diff-match-patch, three-merge, pyls-black, pyls-spyder, flake8, textdistance
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -20,11 +20,11 @@ buildPythonPackage rec {
|
|||||||
nativeBuildInputs = [ pyqtwebengine.wrapQtAppsHook ];
|
nativeBuildInputs = [ pyqtwebengine.wrapQtAppsHook ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
intervaltree jedi pycodestyle psutil pyflakes rope numpy scipy matplotlib pylint keyring
|
intervaltree jedi pycodestyle psutil rope numpy scipy matplotlib pylint keyring
|
||||||
numpydoc qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle spyder-kernels
|
numpydoc qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle spyder-kernels
|
||||||
pygments qtpy pyzmq chardet pyqtwebengine qdarkstyle watchdog python-language-server
|
pygments qtpy pyzmq chardet pyqtwebengine qdarkstyle watchdog python-language-server
|
||||||
atomicwrites pyxdg diff-match-patch three-merge pyls-black pyls-spyder
|
atomicwrites pyxdg diff-match-patch three-merge pyls-black pyls-spyder
|
||||||
flake8
|
flake8 textdistance
|
||||||
];
|
];
|
||||||
|
|
||||||
# There is no test for spyder
|
# There is no test for spyder
|
||||||
@ -44,9 +44,13 @@ buildPythonPackage rec {
|
|||||||
# remove dependency on pyqtwebengine
|
# remove dependency on pyqtwebengine
|
||||||
# this is still part of the pyqt 5.11 version we have in nixpkgs
|
# this is still part of the pyqt 5.11 version we have in nixpkgs
|
||||||
sed -i /pyqtwebengine/d setup.py
|
sed -i /pyqtwebengine/d setup.py
|
||||||
|
# The major version bump in watchdog is due to changes in supported
|
||||||
|
# platforms, not API break.
|
||||||
|
# https://github.com/gorakhargosh/watchdog/issues/761#issuecomment-777001518
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "pyqt5<5.13" "pyqt5" \
|
--replace "pyqt5<5.13" "pyqt5" \
|
||||||
--replace "parso==0.7.0" "parso"
|
--replace "parso==0.7.0" "parso" \
|
||||||
|
--replace "watchdog>=0.10.3,<2.0.0" "watchdog>=0.10.3,<3.0.0"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user