2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
jupyter-contrib-core,
|
|
|
|
jupyter-core,
|
|
|
|
jupyter-server,
|
|
|
|
notebook,
|
|
|
|
pyyaml,
|
|
|
|
tornado,
|
|
|
|
pytestCheckHook,
|
|
|
|
selenium,
|
2023-08-04 22:07:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyter-nbextensions-configurator";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "0.6.4";
|
|
|
|
pyproject = true;
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jupyter-contrib";
|
|
|
|
repo = "jupyter_nbextensions_configurator";
|
|
|
|
rev = "refs/tags/${version}";
|
2024-06-20 14:57:18 +00:00
|
|
|
hash = "sha256-U4M6pGV/DdE+DOVMVaoBXOhfRERt+yUa+gADgqRRLn4=";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
dependencies = [
|
2023-08-10 07:59:29 +00:00
|
|
|
jupyter-contrib-core
|
|
|
|
jupyter-core
|
|
|
|
jupyter-server
|
|
|
|
notebook
|
|
|
|
pyyaml
|
|
|
|
tornado
|
|
|
|
];
|
2023-08-04 22:07:22 +00:00
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
selenium
|
|
|
|
];
|
|
|
|
|
|
|
|
# Those tests fails upstream
|
|
|
|
disabledTestPaths = [
|
|
|
|
"tests/test_application.py"
|
|
|
|
"tests/test_jupyterhub.py"
|
|
|
|
"tests/test_nbextensions_configurator.py"
|
|
|
|
];
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
pythonImportsCheck = [ "jupyter_nbextensions_configurator" ];
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
meta = {
|
|
|
|
description = "Jupyter notebook serverextension providing config interfaces for nbextensions";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "jupyter-nbextensions_configurator";
|
2023-08-04 22:07:22 +00:00
|
|
|
homepage = "https://github.com/jupyter-contrib/jupyter_nbextensions_configurator";
|
2024-06-20 14:57:18 +00:00
|
|
|
changelog = "https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator/releases/tag/${version}";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ GaetanLepage ];
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
}
|