mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
spyder: convert to python modules
This commit is contained in:
parent
f9b8ee3dd8
commit
cca0aeeb68
4 changed files with 40 additions and 33 deletions
27
pkgs/development/python-modules/spyder-kernels/default.nix
Normal file
27
pkgs/development/python-modules/spyder-kernels/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
||||
|
|
|
@ -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 {};
|
||||
|
|
Loading…
Reference in a new issue