python310Packages.stim: relax pybind11 and add build dependencies
This commit is contained in:
parent
8bfaf53f7b
commit
fbed17d90f
@ -11,6 +11,8 @@
|
||||
, matplotlib
|
||||
, networkx
|
||||
, scipy
|
||||
, setuptools
|
||||
, wheel
|
||||
, pandas
|
||||
}:
|
||||
|
||||
@ -28,9 +30,20 @@ buildPythonPackage rec {
|
||||
hash = "sha256-zXWdJjFkf74FCWxyVMF8dx0P8GmUkuHFxUo5wYNU2o0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# asked to relax this in https://github.com/quantumlib/Stim/issues/623
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "pybind11==" "pybind11>="
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pybind11
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
pybind11
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user