depot/third_party/nixpkgs/pkgs/development/python-modules/spyder-kernels/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

56 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
setuptools,
cloudpickle,
fetchPypi,
ipykernel,
ipython,
jupyter-client,
packaging,
pythonOlder,
pyxdg,
pyzmq,
wurlitzer,
}:
buildPythonPackage rec {
pname = "spyder-kernels";
version = "2.5.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "spyder_kernels";
inherit version;
hash = "sha256-cfJSkA4CsDlIIMxwSfie1yUkP2/M9kC3bdMpIDxBOWA=";
};
build-system = [ setuptools ];
dependencies = [
cloudpickle
ipykernel
ipython
jupyter-client
packaging
pyxdg
pyzmq
wurlitzer
];
# No tests
doCheck = false;
pythonImportsCheck = [ "spyder_kernels" ];
meta = {
description = "Jupyter kernels for Spyder's console";
homepage = "https://docs.spyder-ide.org/current/ipythonconsole.html";
downloadPage = "https://github.com/spyder-ide/spyder-kernels/releases";
changelog = "https://github.com/spyder-ide/spyder-kernels/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ gebner ];
};
}