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:
@@ -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"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user