Loading pkgs/development/python-modules/sounddevice/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -13,13 +13,13 @@ buildPythonPackage rec { pname = "sounddevice"; version = "0.5.0"; version = "0.5.1"; pyproject = true; disabled = isPy27; src = fetchPypi { inherit pname version; hash = "sha256-DelSd2VLPUA9nBXe08bO3zB+myfMnOe9mVookdDJVa8="; hash = "sha256-CcqZHa7ajOS+mskeFamoHI+B76a2laNIyRceoMFssEE="; }; build-system = [ setuptools ]; Loading pkgs/development/python-modules/sounddevice/fix-portaudio-library-path.patch +12 −9 Original line number Diff line number Diff line 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 diff --git a/sounddevice.py b/sounddevice.py index 0974289..2d56c28 100644 --- a/sounddevice.py +++ b/sounddevice.py @@ -58,32 +58,7 @@ from ctypes.util import find_library as _find_library from _sounddevice import ffi as _ffi Loading @@ -22,6 +22,9 @@ index c7c1d62..aabcb12 100644 - if _platform.system() == 'Darwin': - _libname = 'libportaudio.dylib' - elif _platform.system() == 'Windows': - if 'SD_ENABLE_ASIO' in _os.environ: - _libname = 'libportaudio' + _platform.architecture()[0] + '-asio.dll' - else: - _libname = 'libportaudio' + _platform.architecture()[0] + '.dll' - else: - raise Loading Loading
pkgs/development/python-modules/sounddevice/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -13,13 +13,13 @@ buildPythonPackage rec { pname = "sounddevice"; version = "0.5.0"; version = "0.5.1"; pyproject = true; disabled = isPy27; src = fetchPypi { inherit pname version; hash = "sha256-DelSd2VLPUA9nBXe08bO3zB+myfMnOe9mVookdDJVa8="; hash = "sha256-CcqZHa7ajOS+mskeFamoHI+B76a2laNIyRceoMFssEE="; }; build-system = [ setuptools ]; Loading
pkgs/development/python-modules/sounddevice/fix-portaudio-library-path.patch +12 −9 Original line number Diff line number Diff line 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 diff --git a/sounddevice.py b/sounddevice.py index 0974289..2d56c28 100644 --- a/sounddevice.py +++ b/sounddevice.py @@ -58,32 +58,7 @@ from ctypes.util import find_library as _find_library from _sounddevice import ffi as _ffi Loading @@ -22,6 +22,9 @@ index c7c1d62..aabcb12 100644 - if _platform.system() == 'Darwin': - _libname = 'libportaudio.dylib' - elif _platform.system() == 'Windows': - if 'SD_ENABLE_ASIO' in _os.environ: - _libname = 'libportaudio' + _platform.architecture()[0] + '-asio.dll' - else: - _libname = 'libportaudio' + _platform.architecture()[0] + '.dll' - else: - raise Loading