python312Packages.pylibjpeg-openjpeg: unbreak by lifting poetry-core version bounds (#376244)

This commit is contained in:
Peder Bergebakken Sundt
2025-02-17 02:50:59 +01:00
committed by GitHub
2 changed files with 4 additions and 1 deletions
@@ -10,6 +10,7 @@
pydicom,
pylibjpeg,
pylibjpeg-libjpeg,
pylibjpeg-openjpeg,
setuptools,
typing-extensions,
}:
@@ -52,7 +53,7 @@ buildPythonPackage rec {
libjpeg = [
pylibjpeg
pylibjpeg-libjpeg
#pylibjpeg-openjpeg # broken on aarch64-linux
pylibjpeg-openjpeg
];
};
@@ -36,6 +36,8 @@ buildPythonPackage rec {
rmdir lib/openjpeg
cp -r ${openjpeg.src} lib/openjpeg
chmod +rwX -R lib/openjpeg
substituteInPlace pyproject.toml --replace-fail "poetry-core >=1.8,<2" "poetry-core"
'';
dontUseCmakeConfigure = true;