1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy27
5, pytest
6, pytestcov
7, nbval
8, ipywidgets
9, numpy
10, six
11, traittypes
12}:
13
14buildPythonPackage rec {
15 pname = "ipydatawidgets";
16 version = "4.0.1";
17
18 disabled = isPy27;
19
20 src = fetchPypi {
21 inherit pname version;
22 sha256 = "1h7cppy959q6x5rvkdjhzxhqh57s37i2xsish5rfavcqbp2xgk4g";
23 };
24
25 propagatedBuildInputs = [
26 ipywidgets
27 numpy
28 six
29 traittypes
30 ];
31
32 checkInputs = [ pytest pytestcov nbval ];
33
34 checkPhase = "pytest ipydatawidgets/tests";
35
36 meta = {
37 description = "Widgets to help facilitate reuse of large datasets across different widgets";
38 homepage = "https://github.com/vidartf/ipydatawidgets";
39 license = lib.licenses.bsd3;
40 maintainers = with lib.maintainers; [ bcdarwin ];
41 };
42}