linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / nbdime / default.nix
blob66e1edd9390838bef18f31a99b895946f0ad222f
1 { lib, buildPythonPackage, fetchPypi, isPy3k
2 , hypothesis
3 , setuptools_scm
4 , six
5 , attrs
6 , py
7 , setuptools
8 , pytestcov
9 , pytest-timeout
10 , pytest-tornado
11 , mock
12 , tabulate
13 , nbformat
14 , jsonschema
15 , pytestCheckHook
16 , colorama
17 , pygments
18 , tornado
19 , requests
20 , GitPython
21 , notebook
22 , jinja2
25 buildPythonPackage rec {
26   pname = "nbdime";
27   version = "2.1.0";
28   disabled = !isPy3k;
30   src = fetchPypi {
31     inherit pname version;
32     sha256 = "4e3efdcfda31c3074cb565cd8e76e2e5421b1c4560c3a00c56f8679dd15590e5";
33   };
35   checkInputs = [
36     hypothesis
37     pytestcov
38     pytest-timeout
39     pytest-tornado
40     jsonschema
41     mock
42     tabulate
43     pytestCheckHook
44   ];
46   disabledTests = [
47     "test_apply_filter_no_repo"
48     "test_diff_api_checkpoint"
49     "test_filter_cmd_invalid_filter"
50     "test_inline_merge"
51     "test_interrogate_filter_no_repo"
52     "test_merge"
53   ];
55   nativeBuildInputs = [ setuptools_scm ];
57   propagatedBuildInputs = [
58     attrs
59     py
60     setuptools
61     six
62     nbformat
63     colorama
64     pygments
65     tornado
66     requests
67     GitPython
68     notebook
69     jinja2
70     ];
72   meta = with lib; {
73     homepage = "https://github.com/jupyter/nbdime";
74     description = "Tools for diffing and merging of Jupyter notebooks.";
75     license = licenses.bsd3;
76     maintainers = with maintainers; [ tbenst ];
77   };