python310Packages.napari: add missing inputs
- update postPatch section
This commit is contained in:
parent
5181d1693d
commit
9523ec0c78
@ -1,8 +1,10 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, mkDerivationWith
|
, mkDerivationWith
|
||||||
, appdirs
|
, appdirs
|
||||||
|
, app-model
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, cachey
|
, cachey
|
||||||
|
, certifi
|
||||||
, dask
|
, dask
|
||||||
, docstring-parser
|
, docstring-parser
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
@ -23,6 +25,7 @@
|
|||||||
, scikitimage
|
, scikitimage
|
||||||
, scipy
|
, scipy
|
||||||
, setuptools-scm
|
, setuptools-scm
|
||||||
|
, sphinx
|
||||||
, superqt
|
, superqt
|
||||||
, tifffile
|
, tifffile
|
||||||
, toolz
|
, toolz
|
||||||
@ -49,15 +52,24 @@ mkDerivationWith buildPythonPackage rec {
|
|||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "scikit-image>=0.19.1" "scikit-image" \
|
||||||
|
--replace "sphinx<5" "sphinx" \
|
||||||
|
--replace "vispy>=0.11.0,<0.12" "vispy"
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
wrapQtAppsHook
|
wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
app-model
|
||||||
appdirs
|
appdirs
|
||||||
cachey
|
cachey
|
||||||
dask.optional-dependencies.array
|
certifi
|
||||||
|
dask
|
||||||
docstring-parser
|
docstring-parser
|
||||||
imageio
|
imageio
|
||||||
jsonschema
|
jsonschema
|
||||||
@ -74,6 +86,7 @@ mkDerivationWith buildPythonPackage rec {
|
|||||||
pyyaml
|
pyyaml
|
||||||
scikitimage
|
scikitimage
|
||||||
scipy
|
scipy
|
||||||
|
sphinx
|
||||||
superqt
|
superqt
|
||||||
tifffile
|
tifffile
|
||||||
toolz
|
toolz
|
||||||
@ -81,13 +94,7 @@ mkDerivationWith buildPythonPackage rec {
|
|||||||
typing-extensions
|
typing-extensions
|
||||||
vispy
|
vispy
|
||||||
wrapt
|
wrapt
|
||||||
];
|
] ++ dask.optional-dependencies.array;
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.cfg \
|
|
||||||
--replace "scikit-image>=0.19.1" "scikit-image" \
|
|
||||||
--replace "vispy>=0.10.0,<0.11" "vispy"
|
|
||||||
'';
|
|
||||||
|
|
||||||
dontUseSetuptoolsCheck = true;
|
dontUseSetuptoolsCheck = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user