2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
2024-06-20 14:57:18 +00:00
|
|
|
setuptools,
|
2024-06-05 15:53:02 +00:00
|
|
|
cloudpickle,
|
|
|
|
fetchPypi,
|
|
|
|
ipykernel,
|
|
|
|
ipython,
|
|
|
|
jupyter-client,
|
|
|
|
packaging,
|
|
|
|
pythonOlder,
|
|
|
|
pyxdg,
|
|
|
|
pyzmq,
|
|
|
|
wurlitzer,
|
2022-11-04 12:27:35 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "spyder-kernels";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "2.5.2";
|
|
|
|
pyproject = true;
|
2022-11-04 12:27:35 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-06-20 14:57:18 +00:00
|
|
|
pname = "spyder_kernels";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-cfJSkA4CsDlIIMxwSfie1yUkP2/M9kC3bdMpIDxBOWA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
dependencies = [
|
2020-04-24 23:36:52 +00:00
|
|
|
cloudpickle
|
|
|
|
ipykernel
|
2022-11-04 12:27:35 +00:00
|
|
|
ipython
|
2021-10-28 06:52:43 +00:00
|
|
|
jupyter-client
|
2022-11-04 12:27:35 +00:00
|
|
|
packaging
|
|
|
|
pyxdg
|
2020-04-24 23:36:52 +00:00
|
|
|
pyzmq
|
2022-11-04 12:27:35 +00:00
|
|
|
wurlitzer
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "spyder_kernels" ];
|
2022-11-04 12:27:35 +00:00
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
meta = {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Jupyter kernels for Spyder's console";
|
2020-09-25 04:45:31 +00:00
|
|
|
homepage = "https://docs.spyder-ide.org/current/ipythonconsole.html";
|
|
|
|
downloadPage = "https://github.com/spyder-ide/spyder-kernels/releases";
|
2023-11-16 04:20:00 +00:00
|
|
|
changelog = "https://github.com/spyder-ide/spyder-kernels/blob/v${version}/CHANGELOG.md";
|
2024-06-20 14:57:18 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ gebner ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|