From d3c85f67de0e1a172733aa7f2e41a14623af8f34 Mon Sep 17 00:00:00 2001 From: zackartz Date: Wed, 26 Jun 2024 11:04:12 -0400 Subject: [PATCH] 775 current 2024-06-26 11:04:09 24.11.20240626.e10b0f9 6.9.6-zen1 * --- modules/home/apps/music/spotify/default.nix | 2 +- packages/spotify/default.nix | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/home/apps/music/spotify/default.nix b/modules/home/apps/music/spotify/default.nix index b623744..eab9ea6 100644 --- a/modules/home/apps/music/spotify/default.nix +++ b/modules/home/apps/music/spotify/default.nix @@ -20,7 +20,7 @@ in { programs.spicetify = { enable = true; theme = spicePkgs.themes.catppuccin; - # spotifyPackage = pkgs.custom.spotify; + spotifyPackage = pkgs.custom.spotify; colorScheme = "mocha"; enabledExtensions = with spicePkgs.extensions; [ diff --git a/packages/spotify/default.nix b/packages/spotify/default.nix index cbed09c..fdafa85 100644 --- a/packages/spotify/default.nix +++ b/packages/spotify/default.nix @@ -48,14 +48,14 @@ # 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.31.1205.g4d59ad7c"; + version = "1.2.37.701.ge66eb7bc"; # 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 = "75"; + rev = "76"; pname = "spotify"; @@ -128,8 +128,9 @@ in # spotify ourselves: # https://community.spotify.com/t5/Desktop-Linux/Redistribute-Spotify-on-Linux-Distributions/td-p/1695334 src = fetchurl { + name = "spotify-${version}-${rev}.snap"; url = "https://api.snapcraft.io/api/v1/snaps/download/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_${rev}.snap"; - hash = "sha512-o4iLcbNqbsxo9YJMy0SXO7Udv4CMhhBcsf53UuqWKFFWY/jKVN+Lb+dB7Jf9+UowpmbrP44w97Oi+dnbfFXYjQ=="; + hash = "sha512-k7aw1QM3NCFkm0tXcHgYyeEBagGFpCL6JdWlFruJszPloiCy5vopOsD4PdqyiSEs0rSUP0rLxX2UBs3XuI5cUA=="; }; nativeBuildInputs = [wrapGAppsHook makeShellWrapper squashfsTools];