python312Packages.librespot: add PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION (#353068)

This commit is contained in:
Weijia Wang 2024-11-03 02:26:22 +01:00 committed by GitHub
commit 53029fdf6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,9 @@
protobuf,
pycryptodomex,
pyogg,
pythonOlder,
requests,
setuptools,
websocket-client,
zeroconf,
}:
@ -14,7 +16,9 @@
buildPythonPackage rec {
pname = "librespot";
version = "0.0.9";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "kokarare1212";
@ -23,10 +27,13 @@ buildPythonPackage rec {
hash = "sha256-k9qVsxjRlUZ7vCBx00quiAR7S+YkfyoZiAKVnOOG4xM=";
};
env.PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION = "python";
pythonRelaxDeps = true;
build-system = [ setuptools ];
propagatedBuildInputs = [
dependencies = [
defusedxml
protobuf
pycryptodomex