python310Packages.bqplot: relax jupyter build dependencies

This commit is contained in:
Theodore Ni 2023-08-26 00:42:37 -07:00
parent 8e5fd127ad
commit 06e603c610
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -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 = [