diff options
Diffstat (limited to 'pkgs/development/python-modules/soundfile/default.nix')
-rw-r--r-- | pkgs/development/python-modules/soundfile/default.nix | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/soundfile/default.nix b/pkgs/development/python-modules/soundfile/default.nix index 01e41ebd2e860..83caeb5774b8f 100644 --- a/pkgs/development/python-modules/soundfile/default.nix +++ b/pkgs/development/python-modules/soundfile/default.nix @@ -1,12 +1,13 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pytestCheckHook -, numpy -, libsndfile -, cffi -, isPyPy -, stdenv +{ + lib, + buildPythonPackage, + fetchPypi, + pytestCheckHook, + numpy, + libsndfile, + cffi, + isPyPy, + stdenv, }: buildPythonPackage rec { @@ -21,22 +22,23 @@ buildPythonPackage rec { hash = "sha256-6OEBeyzx3adnrvGdL9nuXr4H4FDUMPd6Cnxmugi4za4="; }; - patches = [ - ./0001-Fix-build-on-linux-arm64.patch - ]; + patches = [ ./0001-Fix-build-on-linux-arm64.patch ]; postPatch = '' substituteInPlace soundfile.py --replace "_find_library('sndfile')" "'${libsndfile.out}/lib/libsndfile${stdenv.hostPlatform.extensions.sharedLibrary}'" ''; nativeCheckInputs = [ pytestCheckHook ]; - propagatedBuildInputs = [ numpy libsndfile cffi ]; + propagatedBuildInputs = [ + numpy + libsndfile + cffi + ]; propagatedNativeBuildInputs = [ cffi ]; meta = { description = "An audio library based on libsndfile, CFFI and NumPy"; license = lib.licenses.bsd3; homepage = "https://github.com/bastibe/python-soundfile"; - maintainers = with lib.maintainers; [ fridh ]; }; } |