|
|
|
@ -10,14 +10,14 @@ let |
|
|
|
|
# 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.1.80.699.gc3dac750"; |
|
|
|
|
version = "1.1.84.716.gc5f8b819"; |
|
|
|
|
# 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 = "58"; |
|
|
|
|
rev = "60"; |
|
|
|
|
|
|
|
|
|
deps = [ |
|
|
|
|
alsa-lib |
|
|
|
@ -80,7 +80,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 = "91385a5a8de31d6e9f1945d23108447fd369c1cdc2e4d95cbb7cec5d403c3be14a1b0fabe3fb01aef809a39b033d289add1bcb307ab19c7fcb63689dbae57c53"; |
|
|
|
|
sha512 = "1209b956822d8bb661daa2c88616bed403ec26dc22c6b866cecff59235c56112284c2f99aa06352fc0df6fcd15225a6ad60afd3b4ff4d7b948ab83e70ab31a71"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ makeWrapper wrapGAppsHook squashfsTools ]; |
|
|
|
|