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.1.0";
17
18 disabled = isPy27;
19
20 src = fetchPypi {
21 inherit pname version;
22 sha256 = "d9f94828c11e3b40350fb14a02e027f42670a7c372bcb30db18d552dcfab7c01";
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}