From b2afe76484144d7d6e6e46f7ddc13d4c7126f20f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 3 Mar 2023 15:24:31 +0100 Subject: [PATCH] python310Packages.soxr: Fix aarch64 build There are patches that gate certain code parts for aarch64 platforms, that are not part of the soxr release. --- pkgs/development/python-modules/soxr/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/soxr/default.nix b/pkgs/development/python-modules/soxr/default.nix index 9ee7e96d70a3..e84dd51d702c 100644 --- a/pkgs/development/python-modules/soxr/default.nix +++ b/pkgs/development/python-modules/soxr/default.nix @@ -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" ];