spyder: convert to python modules

This commit is contained in:
Gabriel Ebner 2019-05-21 17:51:14 +02:00
parent f9b8ee3dd8
commit cca0aeeb68
4 changed files with 40 additions and 33 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, buildPythonPackage, fetchPypi, cloudpickle, ipykernel, wurlitzer }:
buildPythonPackage rec {
pname = "spyder-kernels";
version = "0.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "a13cefb569ef9f63814cb5fcf3d0db66e09d2d7e6cc68c703d5118b2d7ba062b";
};
propagatedBuildInputs = [
cloudpickle
ipykernel
wurlitzer
];
# No tests
doCheck = false;
meta = with stdenv.lib; {
description = "Jupyter kernels for Spyder's console";
homepage = "https://github.com/spyder-ide/spyder-kernels";
license = licenses.mit;
maintainers = with maintainers; [ gebner ];
};
}

View file

@ -1,42 +1,18 @@
{ stdenv, python3, makeDesktopItem }:
{ stdenv, buildPythonPackage, fetchPypi, makeDesktopItem, jedi, pycodestyle,
psutil, pyflakes, rope, numpy, scipy, matplotlib, pylint, keyring, numpydoc,
qtconsole, qtawesome, nbconvert, mccabe, pyopengl, cloudpickle,
spyder-kernels }:
let
spyder-kernels = with python3.pkgs; buildPythonPackage rec {
pname = "spyder-kernels";
version = "0.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "a13cefb569ef9f63814cb5fcf3d0db66e09d2d7e6cc68c703d5118b2d7ba062b";
};
propagatedBuildInputs = [
cloudpickle
ipykernel
wurlitzer
];
# No tests
doCheck = false;
meta = {
description = "Jupyter kernels for Spyder's console";
homepage = https://github.com/spyder-ide/spyder-kernels;
license = stdenv.lib.licenses.mit;
};
};
in python3.pkgs.buildPythonApplication rec {
buildPythonPackage rec {
pname = "spyder";
version = "3.3.3";
src = python3.pkgs.fetchPypi {
src = fetchPypi {
inherit pname version;
sha256 = "ef31de03cf6f149077e64ed5736b8797dbd278e3c925e43f0bfc31bb55f6e5ba";
};
propagatedBuildInputs = with python3.pkgs; [
propagatedBuildInputs = [
jedi pycodestyle psutil pyflakes rope numpy scipy matplotlib pylint keyring
numpydoc qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle spyder-kernels
];
@ -68,8 +44,9 @@ in python3.pkgs.buildPythonApplication rec {
environment for the Python language with advanced editing, interactive
testing, debugging and introspection features.
'';
homepage = https://github.com/spyder-ide/spyder/;
homepage = "https://github.com/spyder-ide/spyder/";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ gebner ];
};
}

View file

@ -22869,7 +22869,7 @@ in
simgrid = callPackage ../applications/science/misc/simgrid { };
spyder = callPackage ../applications/science/spyder { };
spyder = with python3.pkgs; toPythonApplication spyder;
openspace = callPackage ../applications/science/astronomy/openspace { };

View file

@ -932,6 +932,9 @@ in {
sniffio = callPackage ../development/python-modules/sniffio { };
spyder-kernels = callPackage ../development/python-modules/spyder-kernels {};
spyder = callPackage ../development/python-modules/spyder {};
tenacity = callPackage ../development/python-modules/tenacity { };
tokenserver = callPackage ../development/python-modules/tokenserver {};