Skip to content

Commit

Permalink
python312Packages.librespot: add PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATI…
Browse files Browse the repository at this point in the history
…ON (NixOS#353068)
  • Loading branch information
wegank authored Nov 3, 2024
2 parents 1ebd08d + 27e4702 commit 53029fd
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pkgs/development/python-modules/librespot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,19 @@
protobuf,
pycryptodomex,
pyogg,
pythonOlder,
requests,
setuptools,
websocket-client,
zeroconf,
}:

buildPythonPackage rec {
pname = "librespot";
version = "0.0.9";
format = "setuptools";
pyproject = true;

disabled = pythonOlder "3.10";

src = fetchFromGitHub {
owner = "kokarare1212";
Expand All @@ -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
Expand Down

0 comments on commit 53029fd

Please sign in to comment.