Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

59 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
jupyter-contrib-core,
jupyter-core,
jupyter-server,
notebook,
pyyaml,
tornado,
pytestCheckHook,
selenium,
}:
buildPythonPackage rec {
pname = "jupyter-nbextensions-configurator";
version = "0.6.4";
pyproject = true;
src = fetchFromGitHub {
owner = "jupyter-contrib";
repo = "jupyter_nbextensions_configurator";
tag = version;
hash = "sha256-U4M6pGV/DdE+DOVMVaoBXOhfRERt+yUa+gADgqRRLn4=";
};
dependencies = [
jupyter-contrib-core
jupyter-core
jupyter-server
notebook
pyyaml
tornado
];
nativeCheckInputs = [
pytestCheckHook
selenium
];
# Those tests fails upstream
disabledTestPaths = [
"tests/test_application.py"
"tests/test_jupyterhub.py"
"tests/test_nbextensions_configurator.py"
];
pythonImportsCheck = [ "jupyter_nbextensions_configurator" ];
meta = {
description = "Jupyter notebook serverextension providing config interfaces for nbextensions";
mainProgram = "jupyter-nbextensions_configurator";
homepage = "https://github.com/jupyter-contrib/jupyter_nbextensions_configurator";
changelog = "https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator/releases/tag/${version}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}