6 , hatch-jupyter-builder
12 buildPythonPackage rec {
17 disabled = pythonOlder "3.7";
20 inherit pname version;
21 hash = "sha256-kym7949VI6C+62p3IOQ2QIzWnuSBcrmySb83oqUwhjI=";
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.
28 substituteInPlace pyproject.toml \
29 --replace '"jupyterlab==3.*",' ""
37 propagatedBuildInputs = [ ipywidgets jupyter-ui-poll ];
39 nativeCheckImports = [ pytestCheckHook ];
40 pythonImportsCheck = [ "ipyniivue" ];
43 description = "Show a nifti image in a webgl 2.0 canvas within a jupyter notebook cell";
44 homepage = "https://github.com/niivue/ipyniivue";
45 changelog = "https://github.com/niivue/ipyniivue/releases/tag/${version}";
46 license = licenses.bsd3;
47 maintainers = with maintainers; [ bcdarwin ];