at 22.05-pre 1.4 kB view raw
1{ lib, buildPythonPackage, fetchPypi, isPy3k 2, hypothesis 3, setuptools-scm 4, six 5, attrs 6, py 7, setuptools 8, pytest-cov 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, jupyter-server-mathjax 22, notebook 23, jinja2 24}: 25 26buildPythonPackage rec { 27 pname = "nbdime"; 28 version = "3.1.1"; 29 disabled = !isPy3k; 30 31 src = fetchPypi { 32 inherit pname version; 33 sha256 = "67767320e971374f701a175aa59abd3a554723039d39fae908e72d16330d648b"; 34 }; 35 36 checkInputs = [ 37 hypothesis 38 pytest-cov 39 pytest-timeout 40 pytest-tornado 41 jsonschema 42 mock 43 tabulate 44 pytestCheckHook 45 ]; 46 47 disabledTests = [ 48 "test_apply_filter_no_repo" 49 "test_diff_api_checkpoint" 50 "test_filter_cmd_invalid_filter" 51 "test_inline_merge" 52 "test_interrogate_filter_no_repo" 53 "test_merge" 54 ]; 55 56 nativeBuildInputs = [ setuptools-scm ]; 57 58 propagatedBuildInputs = [ 59 attrs 60 py 61 setuptools 62 six 63 jupyter-server-mathjax 64 nbformat 65 colorama 66 pygments 67 tornado 68 requests 69 GitPython 70 notebook 71 jinja2 72 ]; 73 74 meta = with lib; { 75 homepage = "https://github.com/jupyter/nbdime"; 76 description = "Tools for diffing and merging of Jupyter notebooks."; 77 license = licenses.bsd3; 78 maintainers = with maintainers; [ tbenst ]; 79 }; 80}