1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy3k
5, hypothesis
6, setuptools-scm
7, six
8, attrs
9, py
10, setuptools
11, pytest-timeout
12, pytest-tornado
13, mock
14, tabulate
15, nbformat
16, jsonschema
17, pytestCheckHook
18, colorama
19, pygments
20, tornado
21, requests
22, GitPython
23, jupyter-server-mathjax
24, notebook
25, jinja2
26}:
27
28buildPythonPackage rec {
29 pname = "nbdime";
30 version = "3.1.1";
31 disabled = !isPy3k;
32
33 src = fetchPypi {
34 inherit pname version;
35 sha256 = "67767320e971374f701a175aa59abd3a554723039d39fae908e72d16330d648b";
36 };
37
38 nativeBuildInputs = [ setuptools-scm ];
39
40 propagatedBuildInputs = [
41 attrs
42 py
43 setuptools
44 six
45 jupyter-server-mathjax
46 nbformat
47 colorama
48 pygments
49 tornado
50 requests
51 GitPython
52 notebook
53 jinja2
54 ];
55
56 checkInputs = [
57 hypothesis
58 pytest-timeout
59 pytest-tornado
60 jsonschema
61 mock
62 tabulate
63 pytestCheckHook
64 ];
65
66 disabledTests = [
67 "test_apply_filter_no_repo"
68 "test_diff_api_checkpoint"
69 "test_filter_cmd_invalid_filter"
70 "test_inline_merge_source_add"
71 "test_inline_merge_source_patches"
72 "test_inline_merge_source_replace"
73 "test_inline_merge_cells_insertion"
74 "test_inline_merge_cells_replacement"
75 "test_interrogate_filter_no_repo"
76 "test_merge_input_strategy_inline"
77 ];
78
79 __darwinAllowLocalNetworking = true;
80
81 meta = with lib; {
82 homepage = "https://github.com/jupyter/nbdime";
83 description = "Tools for diffing and merging of Jupyter notebooks.";
84 license = licenses.bsd3;
85 maintainers = with maintainers; [ tbenst ];
86 };
87}