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