Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, buildPythonPackage, fetchFromGitHub, jedi, pycodestyle, 2 psutil, pyflakes, rope, pylint, keyring, numpydoc, 3 qtconsole, qtawesome, nbconvert, mccabe, pyopengl, cloudpickle, pygments, 4 spyder-kernels_0_5, qtpy, pyzmq, chardet, pyqtwebengine 5}: 6 7buildPythonPackage rec { 8 pname = "spyder"; 9 version = "3.3.6"; 10 11 src = fetchFromGitHub { 12 owner = "spyder-ide"; 13 repo = "spyder"; 14 rev = "v3.3.6"; 15 sha256 = "1sk9xajhzpklk5bcbdhpfhx3gxhyrahsmj9bv2m6kvbqxdlx6bq6"; 16 }; 17 18 propagatedBuildInputs = [ 19 jedi pycodestyle psutil pyflakes rope pylint keyring numpydoc 20 qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle spyder-kernels_0_5 21 pygments qtpy pyzmq chardet pyqtwebengine 22 ]; 23 24 # tests fail with a segfault 25 doCheck = false; 26 27 postPatch = '' 28 # remove dependency on pyqtwebengine 29 # this is still part of the pyqt 5.13 version we have in nixpkgs 30 sed -i /pyqtwebengine/d setup.py 31 substituteInPlace setup.py --replace "pyqt5<5.13" "pyqt5" 32 ''; 33 34 meta = with stdenv.lib; { 35 description = "Library providing a scientific python development environment"; 36 longDescription = '' 37 Spyder (previously known as Pydee) is a powerful interactive development 38 environment for the Python language with advanced editing, interactive 39 testing, debugging and introspection features. 40 ''; 41 homepage = "https://github.com/spyder-ide/spyder/"; 42 license = licenses.mit; 43 platforms = platforms.linux; 44 maintainers = with maintainers; [ gebner marcus7070 ]; 45 }; 46}