1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy27
5, pytest
6, pytest-cov
7, nbval
8, ipywidgets
9, numpy
10, six
11, traittypes
12}:
13
14buildPythonPackage rec {
15 pname = "ipydatawidgets";
16 version = "4.2.0";
17
18 disabled = isPy27;
19
20 src = fetchPypi {
21 inherit pname version;
22 sha256 = "d0e4b58b59b508165e8562b8f5d1dbfcd739855847ec0477bd9185a5e9b7c5bc";
23 };
24
25 propagatedBuildInputs = [
26 ipywidgets
27 numpy
28 six
29 traittypes
30 ];
31
32 checkInputs = [ pytest pytest-cov 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}