2020-05-08 04:04:00 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy27
|
|
|
|
, pytest
|
|
|
|
, pytestcov
|
|
|
|
, nbval
|
|
|
|
, ipywidgets
|
|
|
|
, numpy
|
|
|
|
, six
|
|
|
|
, traittypes
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipydatawidgets";
|
2020-10-16 13:12:54 +01:00
|
|
|
version = "4.1.0";
|
2020-05-08 04:04:00 +01:00
|
|
|
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-16 13:12:54 +01:00
|
|
|
sha256 = "d9f94828c11e3b40350fb14a02e027f42670a7c372bcb30db18d552dcfab7c01";
|
2020-05-08 04:04:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
ipywidgets
|
|
|
|
numpy
|
|
|
|
six
|
|
|
|
traittypes
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ pytest pytestcov nbval ];
|
|
|
|
|
|
|
|
checkPhase = "pytest ipydatawidgets/tests";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Widgets to help facilitate reuse of large datasets across different widgets";
|
|
|
|
homepage = "https://github.com/vidartf/ipydatawidgets";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ bcdarwin ];
|
|
|
|
};
|
|
|
|
}
|