tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.jupyterlab-git: 0.32.2 -> 0.33.0
Fabian Affolter
4 years ago
602317c4
1326545a
+55
-19
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
jupyterlab-git
default.nix
+55
-19
pkgs/development/python-modules/jupyterlab-git/default.nix
···
1
1
-
{ lib, stdenv
1
1
+
{ lib
2
2
+
, stdenv
2
3
, buildPythonPackage
3
4
, fetchPypi
5
5
+
, git
6
6
+
, jupyter_server
7
7
+
, jupyter-packaging
8
8
+
, jupyterlab
9
9
+
, nbdime
10
10
+
, nbformat
11
11
+
, pexpect
12
12
+
, pytest-asyncio
13
13
+
, pytest-tornasync
14
14
+
, pytestCheckHook
4
15
, pythonOlder
5
5
-
, notebook
6
6
-
, nbdime
7
7
-
, git
8
8
-
, pytest
9
16
}:
10
17
11
18
buildPythonPackage rec {
12
12
-
pname = "jupyterlab_git";
13
13
-
version = "0.32.2";
14
14
-
disabled = pythonOlder "3.5";
19
19
+
pname = "jupyterlab-git";
20
20
+
version = "0.33.0";
21
21
+
22
22
+
disabled = pythonOlder "3.6";
15
23
16
24
src = fetchPypi {
17
17
-
inherit pname version;
18
18
-
sha256 = "4c5743a05150ed7736e028aac15787a66735f160e9ae198dacc5a4bd1a727ce2";
25
25
+
pname = "jupyterlab_git";
26
26
+
inherit version;
27
27
+
sha256 = "0rbl472k66asfq9n9xqd2zpw8z7yrk6ka411vhvlvvszzb7g6w13";
19
28
};
20
29
21
21
-
propagatedBuildInputs = [ notebook nbdime git ];
30
30
+
nativeBuildInputs = [
31
31
+
jupyter-packaging
32
32
+
];
22
33
23
23
-
# all Tests on darwin fail or are skipped due to sandbox
34
34
+
propagatedBuildInputs = [
35
35
+
jupyter_server
36
36
+
nbdime
37
37
+
git
38
38
+
nbformat
39
39
+
pexpect
40
40
+
];
41
41
+
42
42
+
checkInputs = [
43
43
+
jupyterlab
44
44
+
pytest-asyncio
45
45
+
pytest-tornasync
46
46
+
pytestCheckHook
47
47
+
];
48
48
+
49
49
+
# All Tests on darwin fail or are skipped due to sandbox
24
50
doCheck = !stdenv.isDarwin;
25
51
26
26
-
checkInputs = [ pytest ];
52
52
+
disabledTestPaths = [
53
53
+
"jupyterlab_git/tests/test_handlers.py"
54
54
+
# PyPI doesn't ship all required files for the tests
55
55
+
"jupyterlab_git/tests/test_config.py"
56
56
+
"jupyterlab_git/tests/test_integrations.py"
57
57
+
"jupyterlab_git/tests/test_remote.py"
58
58
+
"jupyterlab_git/tests/test_settings.py"
59
59
+
];
27
60
28
28
-
checkPhase = ''
29
29
-
pytest jupyterlab_git/ --ignore=jupyterlab_git/tests/test_handlers.py
30
30
-
'';
61
61
+
disabledTests = [
62
62
+
"test_Git_get_nbdiff_file"
63
63
+
"test_Git_get_nbdiff_dict"
64
64
+
];
31
65
32
32
-
pythonImportsCheck = [ "jupyterlab_git" ];
66
66
+
pythonImportsCheck = [
67
67
+
"jupyterlab_git"
68
68
+
];
33
69
34
70
meta = with lib; {
35
35
-
description = "Jupyter lab extension for version control with Git.";
36
36
-
license = with licenses; [ bsd3 ];
71
71
+
description = "Jupyter lab extension for version control with Git";
37
72
homepage = "https://github.com/jupyterlab/jupyterlab-git";
73
73
+
license = with licenses; [ bsd3 ];
38
74
maintainers = with maintainers; [ chiroptical ];
39
75
};
40
76
}