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:
parent
9a1c989117
commit
978c0461ff
@ -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
|
||||
];
|
||||
|
||||
|
2231
pkgs/applications/audio/mopidy/spotify-access-token-auth.patch
Normal file
2231
pkgs/applications/audio/mopidy/spotify-access-token-auth.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user