Skip to content

Commit

Permalink
spotify: 1.2.45.454.gc16ec9f6 -> 1.2.48.405.gf2c48e6f
Browse files Browse the repository at this point in the history
(cherry picked from commit 409f723)
  • Loading branch information
mjoerg authored and github-actions[bot] committed Nov 8, 2024
1 parent 4bc273a commit a5980a4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkgs/applications/audio/spotify/linux.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ let
# If an update breaks things, one of those might have valuable info:
# https://aur.archlinux.org/packages/spotify/
# https://community.spotify.com/t5/Desktop-Linux
version = "1.2.45.454.gc16ec9f6";
version = "1.2.48.405.gf2c48e6f";
# To get the latest stable revision:
# curl -H 'X-Ubuntu-Series: 16' 'https://api.snapcraft.io/api/v1/snaps/details/spotify?channel=stable' | jq '.download_url,.version,.last_updated'
# To get general information:
# curl -H 'Snap-Device-Series: 16' 'https://api.snapcraft.io/v2/snaps/info/spotify' | jq '.'
# More examples of api usage:
# https://github.com/canonical-websites/snapcraft.io/blob/master/webapp/publisher/snaps/views.py
rev = "79";
rev = "80";

deps = [
alsa-lib
Expand Down Expand Up @@ -88,7 +88,7 @@ stdenv.mkDerivation {
src = fetchurl {
name = "spotify-${version}-${rev}.snap";
url = "https://api.snapcraft.io/api/v1/snaps/download/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_${rev}.snap";
hash = "sha512-F1Npz/oKCsMKaQx2M5dm1dhWhaSlt8422tpRWnwuk2yjwLWrOYDY2uKYph8YFXfOdS3mV6u5yVlzgFdDqAFmCQ==";
hash = "sha512-Ej9SEhZhssQiH1srcgUW5lQuUNg+htudV7mcnK6o0pW5PiBYZ6qOPEIZ/1tZzD9xkUJ8hCq08fJMB8NQ12KXMg==";
};

nativeBuildInputs = [ wrapGAppsHook3 makeShellWrapper squashfsTools ];
Expand Down Expand Up @@ -146,6 +146,7 @@ stdenv.mkDerivation {
rpath="$out/share/spotify:$libdir"
chmod +w "$out/share/spotify/spotify"
patchelf \
--interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath $rpath $out/share/spotify/spotify
Expand Down

0 comments on commit a5980a4

Please sign in to comment.