Unverified Commit 79d91798 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

spotify: 1.2.74.477.g3be53afe -> 1.2.82.428.g0ac8be2b (#494452)

parents cdbdd777 29552bec
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
stdenv.mkDerivation {
  inherit pname;

  version = "1.2.78.418";
  version = "1.2.84.476";

  src =
    # WARNING: This Wayback Machine URL redirects to the closest timestamp.
@@ -20,13 +20,13 @@ stdenv.mkDerivation {
    # https://web.archive.org/web/*/https://download.scdn.co/Spotify.dmg
    if stdenv.hostPlatform.isAarch64 then
      (fetchurl {
        url = "https://web.archive.org/web/20251212105149/https://download.scdn.co/SpotifyARM64.dmg";
        hash = "sha256-/rrThZOpjzaHPX1raDe5X8PqtJeTI4GDS5sXSfthXTQ=";
        url = "https://web.archive.org/web/20260228212834/https://download.scdn.co/SpotifyARM64.dmg";
        hash = "sha256-Zj5qATaW1QPTInC/Y/jZx2xq5eHG/OQixpj8DWUpEXY=";
      })
    else
      (fetchurl {
        url = "https://web.archive.org/web/20251212105140/https://download.scdn.co/Spotify.dmg";
        hash = "sha256-N2tQTS9vHp93cRI0c5riVZ/8FSaq3ovDqh5K9aU6jV0=";
        url = "https://web.archive.org/web/20260228213541/https://download.scdn.co/Spotify.dmg";
        hash = "sha256-4Lm4g0gAQ3EA7Sj2wDTbjEXRxcNoGWHLvdEx/57nry4=";
      });

  nativeBuildInputs = [ undmg ];
+7 −3
Original line number Diff line number Diff line
@@ -52,7 +52,9 @@
  pname,
  meta,
  harfbuzz,
  libayatana-indicator,
  libayatana-appindicator,
  ayatana-ido,
  libdbusmenu,
  libGL,
  # High-DPI support: Spotify's --force-device-scale-factor argument
@@ -79,7 +81,9 @@ let
    glib
    gtk3
    harfbuzz
    libayatana-indicator
    libayatana-appindicator
    ayatana-ido
    libdbusmenu
    libdrm
    libgcrypt
@@ -119,7 +123,7 @@ stdenv.mkDerivation (finalAttrs: {
  # 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.74.477.g3be53afe";
  version = "1.2.82.428.g0ac8be2b";

  # 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'
@@ -127,7 +131,7 @@ stdenv.mkDerivation (finalAttrs: {
  # 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 = "89";
  rev = "92";

  # fetch from snapcraft instead of the debian repository most repos fetch from.
  # That is a bit more cumbersome. But the debian repository only keeps the last
@@ -140,7 +144,7 @@ stdenv.mkDerivation (finalAttrs: {
  src = fetchurl {
    name = "spotify-${finalAttrs.version}-${finalAttrs.rev}.snap";
    url = "https://api.snapcraft.io/api/v1/snaps/download/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_${finalAttrs.rev}.snap";
    hash = "sha512-mn1w/Ylt9weFgV67tB435CoF2/4V+F6gu1LUXY07J6m5nxi1PCewHNFm8/11qBRO/i7mpMwhcRXaiv0HkFAjYA==";
    hash = "sha512-/9lB4gLotYvM2QkHt8cKS8P4IXrBVzgoXEk4bWR3GQum0OnJqK/qCC9evmCZ7PAqbbyh5/8vSblM+QXXXiQiMA==";
  };

  nativeBuildInputs = [