You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.6 KiB
53 lines
1.6 KiB
5 years ago
|
{ stdenv, buildPythonPackage, fetchPypi, makeDesktopItem, jedi, pycodestyle,
|
||
|
psutil, pyflakes, rope, numpy, scipy, matplotlib, pylint, keyring, numpydoc,
|
||
|
qtconsole, qtawesome, nbconvert, mccabe, pyopengl, cloudpickle,
|
||
|
spyder-kernels }:
|
||
11 years ago
|
|
||
5 years ago
|
buildPythonPackage rec {
|
||
7 years ago
|
pname = "spyder";
|
||
5 years ago
|
version = "3.3.3";
|
||
11 years ago
|
|
||
5 years ago
|
src = fetchPypi {
|
||
7 years ago
|
inherit pname version;
|
||
5 years ago
|
sha256 = "ef31de03cf6f149077e64ed5736b8797dbd278e3c925e43f0bfc31bb55f6e5ba";
|
||
11 years ago
|
};
|
||
|
|
||
5 years ago
|
propagatedBuildInputs = [
|
||
5 years ago
|
jedi pycodestyle psutil pyflakes rope numpy scipy matplotlib pylint keyring
|
||
|
numpydoc qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle spyder-kernels
|
||
7 years ago
|
];
|
||
11 years ago
|
|
||
|
# There is no test for spyder
|
||
|
doCheck = false;
|
||
|
|
||
11 years ago
|
desktopItem = makeDesktopItem {
|
||
|
name = "Spyder";
|
||
|
exec = "spyder";
|
||
|
icon = "spyder";
|
||
|
comment = "Scientific Python Development Environment";
|
||
|
desktopName = "Spyder";
|
||
|
genericName = "Python IDE";
|
||
|
categories = "Application;Development;Editor;IDE;";
|
||
|
};
|
||
|
|
||
|
# Create desktop item
|
||
|
postInstall = ''
|
||
7 years ago
|
mkdir -p $out/share/icons
|
||
|
cp spyder/images/spyder.svg $out/share/icons
|
||
|
cp -r $desktopItem/share/applications/ $out/share
|
||
11 years ago
|
'';
|
||
|
|
||
11 years ago
|
meta = with stdenv.lib; {
|
||
10 years ago
|
description = "Scientific python development environment";
|
||
11 years ago
|
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.
|
||
|
'';
|
||
5 years ago
|
homepage = "https://github.com/spyder-ide/spyder/";
|
||
11 years ago
|
license = licenses.mit;
|
||
|
platforms = platforms.linux;
|
||
5 years ago
|
maintainers = with maintainers; [ gebner ];
|
||
11 years ago
|
};
|
||
|
}
|