2020-05-15 21:57:56 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy27
|
|
|
|
, pytest
|
2021-07-24 12:14:16 +00:00
|
|
|
, pytest-cov
|
2020-05-15 21:57:56 +00:00
|
|
|
, nbval
|
2021-12-30 13:39:12 +00:00
|
|
|
, jupyter-packaging
|
2020-05-15 21:57:56 +00:00
|
|
|
, ipywidgets
|
|
|
|
, numpy
|
|
|
|
, six
|
|
|
|
, traittypes
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipydatawidgets";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "4.3.5";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-05-15 21:57:56 +00:00
|
|
|
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-OU8kiVdlh8/XVTd6CaBn9GytIggZZQkgIf0avL54Uqg=";
|
2020-05-15 21:57:56 +00:00
|
|
|
};
|
|
|
|
|
2021-12-30 13:39:12 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
jupyter-packaging
|
|
|
|
];
|
|
|
|
|
|
|
|
setupPyBuildFlags = [ "--skip-npm" ];
|
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
ipywidgets
|
|
|
|
numpy
|
|
|
|
six
|
|
|
|
traittypes
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytest pytest-cov nbval ];
|
2020-05-15 21:57:56 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|