mopidy: backport spotify access token auth

The current implementation is broken, but was not backported to 0.13 by
upstream due to the patch also raising the MSRV -- this isn't a problem
for us ;)
This commit is contained in:
seth 2025-01-03 01:10:38 -05:00
parent 9a1c989117
commit 978c0461ff
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86
2 changed files with 2247 additions and 1 deletions

View File

@ -30,7 +30,22 @@ pythonPackages.buildPythonApplication rec {
gst-plugins-base
gst-plugins-good
gst-plugins-ugly
gst-plugins-rs
# Required patches for the Spotify plugin (https://github.com/mopidy/mopidy-spotify/releases/tag/v5.0.0a3)
(gst-plugins-rs.overrideAttrs (
newAttrs: oldAttrs: {
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (oldAttrs': {
vendorStaging = oldAttrs'.vendorStaging.overrideAttrs {
inherit (newAttrs) patches;
outputHash = "sha256-CegT8h+CJ6axipAD6E9drtrPJ9izRy/UCW14rbva5XA=";
};
});
# https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1801/
patches = oldAttrs.patches or [ ] ++ [
./spotify-access-token-auth.patch
];
}
))
pipewire
];

File diff suppressed because it is too large Load Diff