12 buildPythonPackage rec {
13 pname = "sounddevice";
15 format = "setuptools";
19 inherit pname version;
20 hash = "sha256-Mja3jxXwQVvfAGpiDO8HPQwFIoUdZvSpYe1tjrFIL+k=";
23 propagatedBuildInputs = [ cffi numpy portaudio ];
25 # No tests included nor upstream available.
28 pythonImportsCheck = [ "sounddevice" ];
32 src = ./fix-portaudio-library-path.patch;
33 portaudio = "${portaudio}/lib/libportaudio${stdenv.hostPlatform.extensions.sharedLibrary}";
38 description = "Play and Record Sound with Python";
39 homepage = "http://python-sounddevice.rtfd.org/";
40 license = with lib.licenses; [ mit ];
41 maintainers = with lib.maintainers; [ fridh ];