python310Packages.bqplot: relax jupyter build dependencies

This commit is contained in:
Theodore Ni
2023-08-26 08:51:05 -07:00
parent 8e5fd127ad
commit 06e603c610
@@ -3,6 +3,7 @@
, pythonOlder
, fetchPypi
, jupyter-packaging
, jupyterlab
, bqscales
, ipywidgets
, numpy
@@ -23,8 +24,17 @@ buildPythonPackage rec {
hash = "sha256-FNjeb5pNGUW76mwTIOpNHJMlb3JoN3T24AINzFefPdI=";
};
# upstream seems in flux for 0.13 release. they seem to want to migrate from
# jupyter_packaging to hatch, so let's patch instead of fixing upstream
postPatch = ''
substituteInPlace pyproject.toml \
--replace "jupyter_packaging~=" "jupyter_packaging>=" \
--replace "jupyterlab~=" "jupyterlab>="
'';
nativeBuildInputs = [
jupyter-packaging
jupyterlab
];
propagatedBuildInputs = [