python310Packages.soxr: Fix aarch64 build

There are patches that gate certain code parts for aarch64 platforms,
that are not part of the soxr release.
This commit is contained in:
Martin Weinelt
2023-03-03 23:59:31 +01:00
parent 2214b02265
commit b2afe76484
@@ -25,7 +25,8 @@ buildPythonPackage rec {
owner = "dofuuz";
repo = "python-soxr";
rev = "refs/tags/v${version}";
hash = "sha256-Kpw+KeXkkZlNLq8BMNMKtgBxe5Wb71jNaXZFmjjP34o=";
fetchSubmodules = true;
hash = "sha256-g8YS5YgK1uK1kKtR/wn8x5DAUVY/hYmuMIgjgJAC8pM=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@@ -38,11 +39,6 @@ buildPythonPackage rec {
setuptools-scm
];
postPatch = ''
tar -xf ${libsoxr.src} -C libsoxr
mv libsoxr/soxr-*/* libsoxr/
'';
pythonImportsCheck = [
"soxr"
];