Merge pull request #45874 from timokau/spotify-update

spotify: 1.0.80.474.gef6b503e-7 -> 1.0.88.353.g15c26ea1-14

authored by Timo Kaufmann and committed by GitHub dde959a8 8f0bafca

+4 -3
+4 -3
pkgs/applications/audio/spotify/default.nix
··· 3 , libgcrypt, systemd, fontconfig, dbus, expat, ffmpeg_0_10, curl, zlib, gnome3 }: 4 5 let 6 # "rev" decides what is actually being downloaded 7 - version = "1.0.80.474.gef6b503e-7"; 8 # To get the latest stable revision: 9 # curl -H 'X-Ubuntu-Series: 16' 'https://api.snapcraft.io/api/v1/snaps/details/spotify?channel=stable' | jq '.download_url,.version,.last_updated' 10 # To get general information: 11 # curl -H 'Snap-Device-Series: 16' 'https://api.snapcraft.io/v2/snaps/info/spotify' | jq '.' 12 # More exapmles of api usage: 13 # https://github.com/canonical-websites/snapcraft.io/blob/master/webapp/publisher/snaps/views.py 14 - rev = "16"; 15 16 17 deps = [ ··· 64 # https://community.spotify.com/t5/Desktop-Linux/Redistribute-Spotify-on-Linux-Distributions/td-p/1695334 65 src = fetchurl { 66 url = "https://api.snapcraft.io/api/v1/snaps/download/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_${rev}.snap"; 67 - sha512 = "45b7ab574b30fb368e0b6f4dd60addbfd1ddc02173b4f98b31c524eed49073432352a361e75959ce8e2f752231e93c79ca1b538c4bd295c935d1e2e0585d147f"; 68 }; 69 70 buildInputs = [ squashfsTools makeWrapper ];
··· 3 , libgcrypt, systemd, fontconfig, dbus, expat, ffmpeg_0_10, curl, zlib, gnome3 }: 4 5 let 6 + # TO UPDATE: just execute the ./update.sh script (won't do anything if there is no update) 7 # "rev" decides what is actually being downloaded 8 + version = "1.0.88.353.g15c26ea1-14"; 9 # To get the latest stable revision: 10 # curl -H 'X-Ubuntu-Series: 16' 'https://api.snapcraft.io/api/v1/snaps/details/spotify?channel=stable' | jq '.download_url,.version,.last_updated' 11 # To get general information: 12 # curl -H 'Snap-Device-Series: 16' 'https://api.snapcraft.io/v2/snaps/info/spotify' | jq '.' 13 # More exapmles of api usage: 14 # https://github.com/canonical-websites/snapcraft.io/blob/master/webapp/publisher/snaps/views.py 15 + rev = "19"; 16 17 18 deps = [ ··· 65 # https://community.spotify.com/t5/Desktop-Linux/Redistribute-Spotify-on-Linux-Distributions/td-p/1695334 66 src = fetchurl { 67 url = "https://api.snapcraft.io/api/v1/snaps/download/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_${rev}.snap"; 68 + sha512 = "3a068cbe3c1fca84ae67e28830216f993aa459947517956897c3b3f63063005c9db646960e85185b149747ffc302060c208a7f9968ea69d50a3496067089f3db"; 69 }; 70 71 buildInputs = [ squashfsTools makeWrapper ];
pkgs/applications/audio/spotify/update.sh