Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: spotify 0 -> 1 attrpath: spotify Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/hzspgjp23ras9xqjl89rrbqpxgpshh24-packages.json.drv building '/nix/store/hzspgjp23ras9xqjl89rrbqpxgpshh24-packages.json.drv'... Going to be running update for following packages: - spotify-1.2.82.428.g0ac8be2b Press Enter key to continue... Running update for: Enqueuing group of 1 packages - spotify-1.2.82.428.g0ac8be2b: UPDATING ... - spotify-1.2.82.428.g0ac8be2b: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/sp/spotify/darwin.nix b/pkgs/by-name/sp/spotify/darwin.nix index a44e694a70e2..4221d609cbc2 100644 --- a/pkgs/by-name/sp/spotify/darwin.nix +++ b/pkgs/by-name/sp/spotify/darwin.nix @@ -11,7 +11,7 @@ stdenv.mkDerivation { inherit pname; - version = "1.2.84.476"; + version = "1.2.87.414"; 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/20260228212834/https://download.scdn.co/SpotifyARM64.dmg"; - hash = "sha256-Zj5qATaW1QPTInC/Y/jZx2xq5eHG/OQixpj8DWUpEXY="; + url = "https://web.archive.org/web/20260406145755/https://download.scdn.co/SpotifyARM64.dmg"; + hash = "sha256-04VhZ8XUpJIg5Kv/Q18s0cE/nV1tO03XlwQHwmBBT0g="; }) else (fetchurl { - url = "https://web.archive.org/web/20260228213541/https://download.scdn.co/Spotify.dmg"; - hash = "sha256-4Lm4g0gAQ3EA7Sj2wDTbjEXRxcNoGWHLvdEx/57nry4="; + url = "https://web.archive.org/web/20260406145746/https://download.scdn.co/Spotify.dmg"; + hash = "sha256-Iy6m8jt0FnOoVdd5tnCb8Xooiif+6q+n2UbZXGl3hAg="; }); nativeBuildInputs = [ undmg ]; diff --git a/pkgs/by-name/sp/spotify/linux.nix b/pkgs/by-name/sp/spotify/linux.nix index 84527870ec55..8fe795e4681c 100644 --- a/pkgs/by-name/sp/spotify/linux.nix +++ b/pkgs/by-name/sp/spotify/linux.nix @@ -123,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.82.428.g0ac8be2b"; + version = "1.2.84.475.ga1a748ff"; # 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' @@ -131,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 = "92"; + rev = "93"; # 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 @@ -144,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-/9lB4gLotYvM2QkHt8cKS8P4IXrBVzgoXEk4bWR3GQum0OnJqK/qCC9evmCZ7PAqbbyh5/8vSblM+QXXXiQiMA=="; + hash = "sha512-X9IslXh1MHExJpBu45mXnIowdhmvkBko+fupk23WhKNoUPSR37jbj5Ee4V2ZYKxCtgyDgX8Px1YKynu3KEVUFg=="; }; nativeBuildInputs = [ No auto update branch exists Old version 1.2.82.428.g0ac8be2b" not present in master derivation file with contents: { lib, stdenv, callPackage, ... }@args: let extraArgs = removeAttrs args [ "callPackage" ]; pname = "spotify"; updateScript = ./update.sh; meta = { homepage = "https://www.spotify.com/"; description = "Play music from the Spotify music service"; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; license = lib.licenses.unfree; platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ]; mainProgram = "spotify"; }; in if stdenv.hostPlatform.isDarwin then callPackage ./darwin.nix (extraArgs // { inherit pname updateScript meta; }) else callPackage ./linux.nix (extraArgs // { inherit pname updateScript meta; })