summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2018-08-31 17:22:40 +0200
committerGitHub <noreply@github.com>2018-08-31 17:22:40 +0200
commitdde959a8965af69e19a4bf7b246095a97dc3dbc8 (patch)
treed06ce13d0412f1cb7fdf62218435de7115fe222e /pkgs
parent8f0bafcaff7744d3d489a4eed563eda76fc604f8 (diff)
parentaf99bb6429b061762c322c3cfd4aa911be0f0504 (diff)
downloadnixpkgs-dde959a8965af69e19a4bf7b246095a97dc3dbc8.tar
nixpkgs-dde959a8965af69e19a4bf7b246095a97dc3dbc8.tar.gz
nixpkgs-dde959a8965af69e19a4bf7b246095a97dc3dbc8.tar.bz2
nixpkgs-dde959a8965af69e19a4bf7b246095a97dc3dbc8.tar.lz
nixpkgs-dde959a8965af69e19a4bf7b246095a97dc3dbc8.tar.xz
nixpkgs-dde959a8965af69e19a4bf7b246095a97dc3dbc8.tar.zst
nixpkgs-dde959a8965af69e19a4bf7b246095a97dc3dbc8.zip
Merge pull request #45874 from timokau/spotify-update
spotify: 1.0.80.474.gef6b503e-7 -> 1.0.88.353.g15c26ea1-14
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/audio/spotify/default.nix7
-rwxr-xr-x[-rw-r--r--]pkgs/applications/audio/spotify/update.sh0
2 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/audio/spotify/default.nix b/pkgs/applications/audio/spotify/default.nix
index 04bdff3c813..1639ab34b6c 100644
--- a/pkgs/applications/audio/spotify/default.nix
+++ b/pkgs/applications/audio/spotify/default.nix
@@ -3,15 +3,16 @@
 , libgcrypt, systemd, fontconfig, dbus, expat, ffmpeg_0_10, curl, zlib, gnome3 }:
 
 let
+  # TO UPDATE: just execute the ./update.sh script (won't do anything if there is no update)
   # "rev" decides what is actually being downloaded
-  version = "1.0.80.474.gef6b503e-7";
+  version = "1.0.88.353.g15c26ea1-14";
   # 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 exapmles of api usage:
   # https://github.com/canonical-websites/snapcraft.io/blob/master/webapp/publisher/snaps/views.py
-  rev = "16";
+  rev = "19";
 
 
   deps = [
@@ -64,7 +65,7 @@ stdenv.mkDerivation {
   # https://community.spotify.com/t5/Desktop-Linux/Redistribute-Spotify-on-Linux-Distributions/td-p/1695334
   src = fetchurl {
     url = "https://api.snapcraft.io/api/v1/snaps/download/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_${rev}.snap";
-    sha512 = "45b7ab574b30fb368e0b6f4dd60addbfd1ddc02173b4f98b31c524eed49073432352a361e75959ce8e2f752231e93c79ca1b538c4bd295c935d1e2e0585d147f";
+    sha512 = "3a068cbe3c1fca84ae67e28830216f993aa459947517956897c3b3f63063005c9db646960e85185b149747ffc302060c208a7f9968ea69d50a3496067089f3db";
   };
 
   buildInputs = [ squashfsTools makeWrapper ];
diff --git a/pkgs/applications/audio/spotify/update.sh b/pkgs/applications/audio/spotify/update.sh
index 114245f6d46..114245f6d46 100644..100755
--- a/pkgs/applications/audio/spotify/update.sh
+++ b/pkgs/applications/audio/spotify/update.sh