blob: a1e54450fbcbce303bde70dd5c3b2179f20a0d14 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
{
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";
rev = "refs/tags/${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 ];
};
}
|