biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / spyder / default.nix
blob6c18f7e382e8da01f810ee4c9bdc5d23d477ccff
2   lib,
3   buildPythonPackage,
4   fetchPypi,
6   # dependencies
7   aiohttp,
8   asyncssh,
9   atomicwrites,
10   chardet,
11   cloudpickle,
12   cookiecutter,
13   diff-match-patch,
14   fzf,
15   intervaltree,
16   jedi,
17   jellyfish,
18   keyring,
19   matplotlib,
20   nbconvert,
21   numpy,
22   numpydoc,
23   pickleshare,
24   psutil,
25   pygithub,
26   pygments,
27   pylint-venv,
28   pyls-spyder,
29   pyopengl,
30   pyqtwebengine,
31   python-lsp-black,
32   python-lsp-server,
33   pyuca,
34   pyzmq,
35   qdarkstyle,
36   qstylizer,
37   qtawesome,
38   qtconsole,
39   qtpy,
40   rope,
41   rtree,
42   scipy,
43   setuptools,
44   spyder-kernels,
45   superqt,
46   textdistance,
47   three-merge,
48   watchdog,
49   yarl,
52 buildPythonPackage rec {
53   pname = "spyder";
54   version = "6.0.1";
55   pyproject = true;
57   src = fetchPypi {
58     inherit pname version;
59     hash = "sha256-cJeC6ICRWIu+YU3m673ntHVEpNbCJeGZ3lrSK3fYsTA=";
60   };
62   patches = [ ./dont-clear-pythonpath.patch ];
64   build-system = [
65     pyqtwebengine.wrapQtAppsHook
66     setuptools
67   ];
69   dependencies = [
70     aiohttp
71     asyncssh
72     atomicwrites
73     chardet
74     cloudpickle
75     cookiecutter
76     diff-match-patch
77     fzf
78     intervaltree
79     jedi
80     jellyfish
81     keyring
82     matplotlib
83     nbconvert
84     numpy
85     numpydoc
86     pickleshare
87     psutil
88     pygithub
89     pygments
90     pylint-venv
91     pyls-spyder
92     pyopengl
93     pyqtwebengine
94     python-lsp-black
95     python-lsp-server
96     pyuca
97     pyzmq
98     qdarkstyle
99     qstylizer
100     qtawesome
101     qtconsole
102     qtpy
103     rope
104     rtree
105     scipy
106     spyder-kernels
107     superqt
108     textdistance
109     three-merge
110     watchdog
111     yarl
112   ] ++ python-lsp-server.optional-dependencies.all;
114   # There is no test for spyder
115   doCheck = false;
117   postInstall = ''
118     # Add Python libs to env so Spyder subprocesses
119     # created to run compute kernels don't fail with ImportErrors
120     wrapProgram $out/bin/spyder --prefix PYTHONPATH : "$PYTHONPATH"
121   '';
123   dontWrapQtApps = true;
125   preFixup = ''
126     makeWrapperArgs+=("''${qtWrapperArgs[@]}")
127   '';
129   meta = {
130     description = "Scientific python development environment";
131     mainProgram = "spyder";
132     longDescription = ''
133       Spyder (previously known as Pydee) is a powerful interactive development
134       environment for the Python language with advanced editing, interactive
135       testing, debugging and introspection features.
136     '';
137     homepage = "https://www.spyder-ide.org/";
138     downloadPage = "https://github.com/spyder-ide/spyder/releases";
139     changelog = "https://github.com/spyder-ide/spyder/blob/master/CHANGELOG.md";
140     license = lib.licenses.mit;
141     maintainers = with lib.maintainers; [ gebner ];
142     platforms = lib.platforms.linux;
143   };