6 , hatch-jupyter-builder
15 buildPythonPackage rec {
20 disabled = pythonOlder "3.7";
23 inherit pname version;
24 hash = "sha256-HEy1EGP47FFyuMjvsb+3mGHTQMNJEiDVa4wqaqjbOz0=";
27 # We do not need the jupyterlab build dependency, because we do not need to
28 # build any JS components; these are present already in the PyPI artifact.
31 substituteInPlace pyproject.toml \
32 --replace '"jupyterlab==3.*"' ""
40 propagatedBuildInputs = [
44 ] ++ lib.optional (pythonOlder "3.8") importlib-metadata;
51 pythonImportsCheck = [ "anywidget" ];
54 description = "Custom jupyter widgets made easy";
55 homepage = "https://github.com/manzt/anywidget";
56 changelog = "https://github.com/manzt/anywidget/releases/tag/anywidget%40${version}";
57 license = licenses.mit;
58 maintainers = with maintainers; [ natsukium ];