python2Packages.spyder-kernels: fix build
This commit is contained in:
parent
0a625e2d34
commit
9d304bd60b
30
pkgs/development/python-modules/spyder-kernels/2.nix
Normal file
30
pkgs/development/python-modules/spyder-kernels/2.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, cloudpickle, ipykernel, wurlitzer,
|
||||
jupyter_client, pyzmq }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spyder-kernels";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "01354b7fa180a87212cc005553b31a7300159b108d36828e301d3782291323f7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cloudpickle
|
||||
ipykernel
|
||||
wurlitzer
|
||||
jupyter_client
|
||||
pyzmq
|
||||
];
|
||||
|
||||
# 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 ];
|
||||
};
|
||||
}
|
@ -1459,8 +1459,8 @@ in {
|
||||
|
||||
sniffio = callPackage ../development/python-modules/sniffio { };
|
||||
|
||||
spyder-kernels = callPackage ../development/python-modules/spyder-kernels {};
|
||||
spyder = callPackage ../development/python-modules/spyder {};
|
||||
spyder-kernels = if isPy3k then callPackage ../development/python-modules/spyder-kernels {}
|
||||
else callPackage ../development/python-modules/spyder-kernels/2.nix {};
|
||||
|
||||
tenacity = callPackage ../development/python-modules/tenacity { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user