python2Packages.spyder-kernels: fix build

This commit is contained in:
Frederik Rietdijk 2020-02-16 09:26:58 +01:00
parent 0a625e2d34
commit 9d304bd60b
2 changed files with 32 additions and 2 deletions

View 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 ];
};
}

View File

@ -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 { };