1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 # Python Inputs 6 setuptools, 7 ipyvue, 8}: 9 10buildPythonPackage rec { 11 pname = "ipyvuetify"; 12 version = "1.11.3"; 13 pyproject = true; 14 15 # GitHub version tries to run npm (Node JS) 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-NYCvp22a3UrgTMt/1X1KDPA6JhcFdC5xN97z67Zaxx0="; 19 }; 20 21 # drop pynpm which tries to install node_modules 22 postPatch = '' 23 substituteInPlace pyproject.toml \ 24 --replace-fail '"jupyterlab~=4.0",' "" \ 25 --replace-fail '"pynpm"' "" 26 ''; 27 28 build-system = [ setuptools ]; 29 30 dependencies = [ ipyvue ]; 31 32 doCheck = false; # no tests on PyPi/GitHub 33 pythonImportsCheck = [ "ipyvuetify" ]; 34 35 meta = with lib; { 36 description = "Jupyter widgets based on Vuetify UI Components"; 37 homepage = "https://github.com/mariobuikhuizen/ipyvuetify"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ drewrisinger ]; 40 }; 41}