diff --git a/pkgs/development/python-modules/soundfile/default.nix b/pkgs/development/python-modules/soundfile/default.nix index 91b4e2ec7a42..d91ebddc0058 100644 --- a/pkgs/development/python-modules/soundfile/default.nix +++ b/pkgs/development/python-modules/soundfile/default.nix @@ -1,7 +1,6 @@ { lib , buildPythonPackage , fetchPypi -, fetchpatch , pytestCheckHook , numpy , libsndfile @@ -12,13 +11,13 @@ buildPythonPackage rec { pname = "soundfile"; - version = "0.11.0"; + version = "0.12.1"; # https://github.com/bastibe/python-soundfile/issues/157 disabled = isPyPy || stdenv.isi686; src = fetchPypi { inherit pname version; - sha256 = "sha256-kxc4ock+hoTC0+HVFKxjRAzoJ+x4PqCi0+RzDj3FjBg="; + hash = "sha256-6OEBeyzx3adnrvGdL9nuXr4H4FDUMPd6Cnxmugi4za4="; }; postPatch = '' @@ -29,10 +28,6 @@ buildPythonPackage rec { propagatedBuildInputs = [ numpy libsndfile cffi ]; propagatedNativeBuildInputs = [ cffi ]; - preConfigure = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) '' - export PYSOUNDFILE_ARCHITECTURE=x86_64 - ''; - meta = { description = "An audio library based on libsndfile, CFFI and NumPy"; license = lib.licenses.bsd3;