2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, jedi, pycodestyle,
|
2020-05-06 06:31:17 +00:00
|
|
|
psutil, pyflakes, rope, pylint, keyring, numpydoc,
|
2020-02-16 08:27:14 +00:00
|
|
|
qtconsole, qtawesome, nbconvert, mccabe, pyopengl, cloudpickle, pygments,
|
2020-05-06 06:31:17 +00:00
|
|
|
spyder-kernels_0_5, qtpy, pyzmq, chardet, pyqtwebengine
|
2020-02-16 08:27:14 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "spyder";
|
|
|
|
version = "3.3.6";
|
|
|
|
|
2020-05-06 06:31:17 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "spyder-ide";
|
|
|
|
repo = "spyder";
|
|
|
|
rev = "v3.3.6";
|
|
|
|
sha256 = "1sk9xajhzpklk5bcbdhpfhx3gxhyrahsmj9bv2m6kvbqxdlx6bq6";
|
2020-02-16 08:27:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-08-25 02:07:09 +00:00
|
|
|
jedi pycodestyle psutil pyflakes rope pylint keyring numpydoc
|
2020-05-06 06:31:17 +00:00
|
|
|
qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle spyder-kernels_0_5
|
2020-02-16 08:27:14 +00:00
|
|
|
pygments qtpy pyzmq chardet pyqtwebengine
|
|
|
|
];
|
|
|
|
|
2020-05-06 06:31:17 +00:00
|
|
|
# tests fail with a segfault
|
2020-02-16 08:27:14 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
# remove dependency on pyqtwebengine
|
2020-05-06 06:31:17 +00:00
|
|
|
# this is still part of the pyqt 5.13 version we have in nixpkgs
|
2020-02-16 08:27:14 +00:00
|
|
|
sed -i /pyqtwebengine/d setup.py
|
|
|
|
substituteInPlace setup.py --replace "pyqt5<5.13" "pyqt5"
|
|
|
|
'';
|
|
|
|
|
2021-02-16 06:39:58 +00:00
|
|
|
pythonImportsCheck = [ "spyder" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-05-06 06:31:17 +00:00
|
|
|
description = "Library providing a scientific python development environment";
|
2020-02-16 08:27:14 +00:00
|
|
|
longDescription = ''
|
|
|
|
Spyder (previously known as Pydee) is a powerful interactive development
|
|
|
|
environment for the Python language with advanced editing, interactive
|
|
|
|
testing, debugging and introspection features.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/spyder-ide/spyder/";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
2020-05-06 06:31:17 +00:00
|
|
|
maintainers = with maintainers; [ gebner marcus7070 ];
|
2020-02-16 08:27:14 +00:00
|
|
|
};
|
|
|
|
}
|