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