Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 95 lines 1.7 kB view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 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 format = "setuptools"; 32 33 disabled = pythonOlder "3.6"; 34 35 src = fetchPypi { 36 inherit pname version; 37 hash = "sha256-Z3ZzIOlxN09wGhdapZq9OlVHIwOdOfrpCOctFjMNZIs="; 38 }; 39 40 nativeBuildInputs = [ 41 setuptools-scm 42 ]; 43 44 propagatedBuildInputs = [ 45 attrs 46 py 47 setuptools 48 six 49 jupyter-server-mathjax 50 nbformat 51 colorama 52 pygments 53 tornado 54 requests 55 gitpython 56 notebook 57 jinja2 58 ]; 59 60 checkInputs = [ 61 hypothesis 62 pytest-timeout 63 pytest-tornado 64 jsonschema 65 mock 66 tabulate 67 pytestCheckHook 68 ]; 69 70 disabledTests = [ 71 "test_apply_filter_no_repo" 72 "test_diff_api_checkpoint" 73 "test_filter_cmd_invalid_filter" 74 "test_inline_merge_source_add" 75 "test_inline_merge_source_patches" 76 "test_inline_merge_source_replace" 77 "test_inline_merge_cells_insertion" 78 "test_inline_merge_cells_replacement" 79 "test_interrogate_filter_no_repo" 80 "test_merge_input_strategy_inline" 81 ]; 82 83 __darwinAllowLocalNetworking = true; 84 85 pythonImportsCheck = [ 86 "nbdime" 87 ]; 88 89 meta = with lib; { 90 homepage = "https://github.com/jupyter/nbdime"; 91 description = "Tools for diffing and merging of Jupyter notebooks."; 92 license = licenses.bsd3; 93 maintainers = with maintainers; [ tbenst ]; 94 }; 95}