1{ fetchFromGitHub 2, buildPythonPackage 3, isPy27 4, cython 5, portaudio 6, cffi 7, pa-ringbuffer 8, sounddevice 9, lib 10}: 11 12buildPythonPackage rec { 13 pname = "rtmixer"; 14 version = "0.1.1"; 15 disabled = isPy27; 16 17 src = fetchFromGitHub { 18 owner = "spatialaudio"; 19 repo = "python-rtmixer"; 20 rev = version; 21 sha256 = "1bvgzzxiypvvb3qacbcry6761x9sk3dnx7jga7pli63f69vakg4y"; 22 fetchSubmodules = true; 23 }; 24 25 buildInputs = [ portaudio ]; 26 nativeBuildInputs = [ cython ]; 27 28 propagatedBuildInputs = [ 29 cffi 30 pa-ringbuffer 31 sounddevice 32 ]; 33 34 meta = { 35 description = "Reliable low-latency audio playback and recording with Python, using PortAudio via the sounddevice module"; 36 homepage = "https://python-rtmixer.readthedocs.io"; 37 maintainers = with lib.maintainers; [ laikq ]; 38 license = lib.licenses.mit; 39 }; 40}