mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
Merge pull request #59913 from JohnAZoidberg/sounddevice-0.3.13
Fix pythonPackages.sounddevice and upgrade 0.3.12 -> 0.3.13
This commit is contained in:
commit
45b0479310
@ -9,11 +9,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sounddevice";
|
||||
version = "0.3.12";
|
||||
version = "0.3.13";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f59ae4e2ec12cb1e5940f06f08804ecca855d959de25ca45a3938de45d0f81a2";
|
||||
sha256 = "01x2hm3xxzhxrjcj21si4ggmvkwmy5hag7f6yabqlhwskws721cd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cffi numpy portaudio ];
|
||||
@ -34,4 +34,4 @@ buildPythonPackage rec {
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = with lib.maintainers; [ fridh ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
diff --git a/sounddevice.py b/sounddevice.py
|
||||
index f03476c..5745b6e 100644
|
||||
--- a/sounddevice.py
|
||||
+++ b/sounddevice.py
|
||||
@@ -58,28 +58,7 @@ from ctypes.util import find_library as _find_library
|
||||
diff --git i/sounddevice.py w/sounddevice.py
|
||||
index c7c1d62..aabcb12 100644
|
||||
--- i/sounddevice.py
|
||||
+++ w/sounddevice.py
|
||||
@@ -58,29 +58,7 @@ from ctypes.util import find_library as _find_library
|
||||
from _sounddevice import ffi as _ffi
|
||||
|
||||
|
||||
@ -10,6 +10,7 @@ index f03476c..5745b6e 100644
|
||||
- for _libname in (
|
||||
- 'portaudio', # Default name on POSIX systems
|
||||
- 'bin\\libportaudio-2.dll', # DLL from conda-forge
|
||||
- 'lib/libportaudio.dylib', # dylib from anaconda
|
||||
- ):
|
||||
- _libname = _find_library(_libname)
|
||||
- if _libname is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user