python3Packages.rtmixer: convert to pyproject, fix cross (#351972)

This commit is contained in:
Martin Weinelt 2024-11-06 23:47:50 +01:00 committed by GitHub
commit 4f6df22dc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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