python311Packages.pymc: fix setuptools

This commit is contained in:
Felix Buehler 2024-04-28 17:25:42 +02:00
parent d40ab11e88
commit 9d39bb6cdd

View File

@ -10,6 +10,7 @@
, pythonOlder
, scipy
, typing-extensions
, setuptools
}:
buildPythonPackage rec {
@ -26,6 +27,10 @@ buildPythonPackage rec {
hash = "sha256-tiOXbryY2TmeBVrG5cIMeDJ4alolBQ5LosdfH3tpVOA=";
};
build-system = [
setuptools
];
postPatch = ''
substituteInPlace setup.py \
--replace-fail ', "pytest-cov"' ""