|
14 | 14 | # If an update breaks things, one of those might have valuable info: |
15 | 15 | # https://aur.archlinux.org/packages/spotify/ |
16 | 16 | # https://community.spotify.com/t5/Desktop-Linux |
17 | | - version = "1.2.45.454.gc16ec9f6"; |
| 17 | + version = "1.2.48.405.gf2c48e6f"; |
18 | 18 | # To get the latest stable revision: |
19 | 19 | # curl -H 'X-Ubuntu-Series: 16' 'https://api.snapcraft.io/api/v1/snaps/details/spotify?channel=stable' | jq '.download_url,.version,.last_updated' |
20 | 20 | # To get general information: |
21 | 21 | # curl -H 'Snap-Device-Series: 16' 'https://api.snapcraft.io/v2/snaps/info/spotify' | jq '.' |
22 | 22 | # More examples of api usage: |
23 | 23 | # https://github.com/canonical-websites/snapcraft.io/blob/master/webapp/publisher/snaps/views.py |
24 | | - rev = "79"; |
| 24 | + rev = "80"; |
25 | 25 |
|
26 | 26 | deps = [ |
27 | 27 | alsa-lib |
@@ -88,7 +88,7 @@ stdenv.mkDerivation { |
88 | 88 | src = fetchurl { |
89 | 89 | name = "spotify-${version}-${rev}.snap"; |
90 | 90 | url = "https://api.snapcraft.io/api/v1/snaps/download/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_${rev}.snap"; |
91 | | - hash = "sha512-F1Npz/oKCsMKaQx2M5dm1dhWhaSlt8422tpRWnwuk2yjwLWrOYDY2uKYph8YFXfOdS3mV6u5yVlzgFdDqAFmCQ=="; |
| 91 | + hash = "sha512-Ej9SEhZhssQiH1srcgUW5lQuUNg+htudV7mcnK6o0pW5PiBYZ6qOPEIZ/1tZzD9xkUJ8hCq08fJMB8NQ12KXMg=="; |
92 | 92 | }; |
93 | 93 |
|
94 | 94 | nativeBuildInputs = [ wrapGAppsHook3 makeShellWrapper squashfsTools ]; |
@@ -146,6 +146,7 @@ stdenv.mkDerivation { |
146 | 146 |
|
147 | 147 | rpath="$out/share/spotify:$libdir" |
148 | 148 |
|
| 149 | + chmod +w "$out/share/spotify/spotify" |
149 | 150 | patchelf \ |
150 | 151 | --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ |
151 | 152 | --set-rpath $rpath $out/share/spotify/spotify |
|
0 commit comments