Skip to content

Commit

Permalink
mopidy: backport spotify access token auth
Browse files Browse the repository at this point in the history
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 ;)
  • Loading branch information
getchoo committed Jan 3, 2025
1 parent 9a1c989 commit 978c046
Show file tree
Hide file tree
Showing 2 changed files with 2,247 additions and 1 deletion.
17 changes: 16 additions & 1 deletion pkgs/applications/audio/mopidy/mopidy.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];

Expand Down
Loading

0 comments on commit 978c046

Please sign in to comment.