1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 isPy27, 6 pytest, 7 pytest-cov, 8 nbval, 9 jupyter-packaging, 10 ipywidgets, 11 numpy, 12 six, 13 traittypes, 14}: 15 16buildPythonPackage rec { 17 pname = "ipydatawidgets"; 18 version = "4.3.5"; 19 format = "setuptools"; 20 21 disabled = isPy27; 22 23 src = fetchPypi { 24 inherit pname version; 25 hash = "sha256-OU8kiVdlh8/XVTd6CaBn9GytIggZZQkgIf0avL54Uqg="; 26 }; 27 28 nativeBuildInputs = [ jupyter-packaging ]; 29 30 setupPyBuildFlags = [ "--skip-npm" ]; 31 32 propagatedBuildInputs = [ 33 ipywidgets 34 numpy 35 six 36 traittypes 37 ]; 38 39 nativeCheckInputs = [ 40 pytest 41 pytest-cov 42 nbval 43 ]; 44 45 checkPhase = "pytest ipydatawidgets/tests"; 46 47 meta = { 48 description = "Widgets to help facilitate reuse of large datasets across different widgets"; 49 homepage = "https://github.com/vidartf/ipydatawidgets"; 50 license = lib.licenses.bsd3; 51 maintainers = with lib.maintainers; [ bcdarwin ]; 52 }; 53}