python3Packages.soundfile: 0.11.0 -> 0.12.1
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user