Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 49 lines 883 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 isPy27, 6 pytestCheckHook, 7 nbval, 8 jupyter-packaging, 9 ipywidgets, 10 numpy, 11 six, 12 traittypes, 13}: 14 15buildPythonPackage rec { 16 pname = "ipydatawidgets"; 17 version = "4.3.5"; 18 format = "setuptools"; 19 20 disabled = isPy27; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-OU8kiVdlh8/XVTd6CaBn9GytIggZZQkgIf0avL54Uqg="; 25 }; 26 27 nativeBuildInputs = [ jupyter-packaging ]; 28 29 setupPyBuildFlags = [ "--skip-npm" ]; 30 31 propagatedBuildInputs = [ 32 ipywidgets 33 numpy 34 six 35 traittypes 36 ]; 37 38 nativeCheckInputs = [ 39 pytestCheckHook 40 nbval 41 ]; 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}