1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPyPy 5, pkgs 6}: 7 8buildPythonPackage rec { 9 pname = "PyAudio"; 10 version = "0.2.13"; 11 disabled = isPyPy; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-JrzMgeQkPRwP9Uh+a0gd5jKfzWXHk2XCZ87zjzY6K1Y="; 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}