1{ lib, buildPythonPackage, fetchPypi, callPackage, 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, pytest
16, colorama
17, pygments
18, tornado
19, requests
20, GitPython
21, notebook
22, jinja2
23}:
24
25buildPythonPackage rec {
26 pname = "nbdime";
27 version = "1.1.0";
28 disabled = !isPy3k;
29
30 src = fetchPypi {
31 inherit pname version;
32 sha256 = "0qfy7nmlg75vryvrlgd6p0rqrvcclq8n9kd0n4xv5959s9sjy0w0";
33 };
34
35 checkInputs = [
36 hypothesis
37 pytestcov
38 pytest-timeout
39 pytest-tornado
40 jsonschema
41 mock
42 tabulate
43 pytest
44 ];
45
46 nativeBuildInputs = [ setuptools_scm ];
47
48 propagatedBuildInputs = [
49 attrs
50 py
51 setuptools
52 six
53 nbformat
54 colorama
55 pygments
56 tornado
57 requests
58 GitPython
59 notebook
60 jinja2
61 ];
62
63 meta = with lib; {
64 homepage = https://github.com/jupyter/nbdime;
65 description = "Tools for diffing and merging of Jupyter notebooks.";
66 license = licenses.bsd3;
67 maintainers = with maintainers; [ tbenst ];
68 };
69}