Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi 2, jupyter-packaging 3}: 4 5buildPythonPackage rec { 6 pname = "jupyterlab-widgets"; 7 version = "3.0.7"; 8 9 src = fetchPypi { 10 pname = "jupyterlab_widgets"; 11 inherit version; 12 hash = "sha256-w6UO1b9Sigx6hpCWUDr1RwL4bdodtGmu4cktwMAbQ8o="; 13 }; 14 15 nativeBuildInputs = [ 16 jupyter-packaging 17 ]; 18 19 # has no tests 20 doCheck = false; 21 22 pythonImportsCheck = [ "jupyterlab_widgets" ]; 23 24 meta = with lib; { 25 description = "Jupyter Widgets JupyterLab Extension"; 26 homepage = "https://github.com/jupyter-widgets/ipywidgets"; 27 license = licenses.bsd3; 28 maintainers = with maintainers; [ jonringer SuperSandro2000 ]; 29 }; 30}