diff --git a/pkgs/development/python-modules/rtmixer/default.nix b/pkgs/development/python-modules/rtmixer/default.nix index fc31c0c40344..a93caf9aab83 100644 --- a/pkgs/development/python-modules/rtmixer/default.nix +++ b/pkgs/development/python-modules/rtmixer/default.nix @@ -2,6 +2,7 @@ fetchFromGitHub, buildPythonPackage, isPy27, + setuptools, cython, portaudio, cffi, @@ -13,7 +14,7 @@ buildPythonPackage rec { pname = "rtmixer"; version = "0.1.7"; - format = "setuptools"; + pyproject = true; disabled = isPy27; src = fetchFromGitHub { @@ -24,10 +25,16 @@ buildPythonPackage rec { fetchSubmodules = true; }; - buildInputs = [ portaudio ]; - nativeBuildInputs = [ cython ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + buildInputs = [ portaudio ]; + + nativeBuildInputs = [ + cython + cffi + ]; + + dependencies = [ cffi pa-ringbuffer sounddevice