Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, notebook 5, ipywidgets 6}: 7 8buildPythonPackage rec { 9 pname = "widgetsnbextension"; 10 version = "3.4.2"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "fa618be8435447a017fd1bf2c7ae922d0428056cfc7449f7a8641edf76b48265"; 15 }; 16 17 propagatedBuildInputs = [ notebook ]; 18 19 # No tests in archive 20 doCheck = false; 21 22 meta = { 23 description = "IPython HTML widgets for Jupyter"; 24 homepage = http://ipython.org/; 25 license = ipywidgets.meta.license; # Build from same repo 26 maintainers = with lib.maintainers; [ fridh ]; 27 }; 28}