1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPyPy 5, pkgs 6}: 7 8buildPythonPackage rec { 9 pname = "PyAudio"; 10 version = "0.2.11"; 11 disabled = isPyPy; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "93bfde30e0b64e63a46f2fd77e85c41fd51182a4a3413d9edfaf9ffaa26efb74"; 16 }; 17 18 buildInputs = [ pkgs.portaudio ]; 19 20 meta = with lib; { 21 description = "Python bindings for PortAudio"; 22 homepage = "https://people.csail.mit.edu/hubert/pyaudio/"; 23 license = licenses.mit; 24 }; 25 26}