lol

python3.pkgs.ipyniivue: patch out jupyterlab build dependency

+12 -1
+12 -1
pkgs/development/python-modules/ipyniivue/default.nix
··· 21 21 hash = "sha256-kym7949VI6C+62p3IOQ2QIzWnuSBcrmySb83oqUwhjI="; 22 22 }; 23 23 24 - nativeBuildInputs = [ hatchling hatch-jupyter-builder ]; 24 + # We do not need the jupyterlab build dependency, because we do not need to 25 + # build any JS components; these are present already in the PyPI artifact. 26 + # 27 + postPatch = '' 28 + substituteInPlace pyproject.toml \ 29 + --replace '"jupyterlab==3.*",' "" 30 + ''; 31 + 32 + nativeBuildInputs = [ 33 + hatchling 34 + hatch-jupyter-builder 35 + ]; 25 36 26 37 propagatedBuildInputs = [ ipywidgets jupyter-ui-poll ]; 27 38