depot/third_party/nixpkgs/pkgs/development/python-modules/spyder-kernels/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

56 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
cloudpickle,
ipykernel,
ipython,
jupyter-client,
pyxdg,
pyzmq,
wurlitzer,
}:
buildPythonPackage rec {
pname = "spyder-kernels";
version = "3.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "spyder-ide";
repo = "spyder-kernels";
rev = "refs/tags/v${version}";
hash = "sha256-oyPgujvaj2tqouZKuMVDq3gxm0GNrKmeUWqUFUkEMB4=";
};
build-system = [ setuptools ];
dependencies = [
cloudpickle
ipykernel
ipython
jupyter-client
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 ];
};
}