git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #65602 from angristan/spotify/update/1.1.10.546

spotify: 1.0.96.181 -> 1.1.10.546

commita8d45e7fc3656895fc26ff334055a8a27327f96f authorFrederik Rietdijk <freddyrietdijk@fridh.nl> dateThu 1 Aug 2019, 21:07 (7 years ago) parent38b43eee247342
1 file changed+9−5
pkgs/applications/audio/spotify/default.nix+9−5
pkgs/applications/audio/spotify/default.nix+9−5
@@ -1,7 +1,7 @@
11{ fetchurl, stdenv, squashfsTools, xorg, alsaLib, makeWrapper, openssl, freetype
22, glib, pango, cairo, atk, gdk_pixbuf, gtk2, cups, nspr, nss, libpng, libnotify
33, libgcrypt, systemd, fontconfig, dbus, expat, ffmpeg_3, curl, zlib, gnome3
4−, at-spi2-atk
4+, at-spi2-atk, at-spi2-core, apulse
55}:
66
77let
@@ -10,20 +10,22 @@ let
1010 # If an update breaks things, one of those might have valuable info:
1111 # https://aur.archlinux.org/packages/spotify/
1212 # https://community.spotify.com/t5/Desktop-Linux
13− version = "1.0.96.181.gf6bc1b6b-12";
13+ version = "1.1.10.546.ge08ef575-19";
1414 # To get the latest stable revision:
1515 # curl -H 'X-Ubuntu-Series: 16' 'https://api.snapcraft.io/api/v1/snaps/details/spotify?channel=stable' | jq '.download_url,.version,.last_updated'
1616 # To get general information:
1717 # curl -H 'Snap-Device-Series: 16' 'https://api.snapcraft.io/v2/snaps/info/spotify' | jq '.'
1818 # More examples of api usage:
1919 # https://github.com/canonical-websites/snapcraft.io/blob/master/webapp/publisher/snaps/views.py
20− rev = "30";
20+ rev = "36";
2121
2222
2323 deps = [
2424 alsaLib
25+ apulse
2526 atk
2627 at-spi2-atk
28+ at-spi2-core
2729 cairo
2830 cups
2931 curl
@@ -72,7 +74,7 @@ stdenv.mkDerivation {
7274 # https://community.spotify.com/t5/Desktop-Linux/Redistribute-Spotify-on-Linux-Distributions/td-p/1695334
7375 src = fetchurl {
7476 url = "https://api.snapcraft.io/api/v1/snaps/download/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_${rev}.snap";
75− sha512 = "859730fbc80067f0828f7e13eee9a21b13b749f897a50e17c2da4ee672785cfd79e1af6336e609529d105e040dc40f61b6189524783ac93d49f991c4ea8b3c56";
77+ sha512 = "c49f1a86a9b737e64a475bbe62754a36f607669e908eb725a2395f0a0a6b95968e0c8ce27ab2c8b6c92fe8cbacb1ef58de11c79b92dc0f58c2c6d3a140706a1f";
7678 };
7779
7880 buildInputs = [ squashfsTools makeWrapper ];
@@ -134,6 +136,8 @@ stdenv.mkDerivation {
134136 librarypath="${stdenv.lib.makeLibraryPath deps}:$libdir"
135137 wrapProgram $out/share/spotify/spotify \
136138 --prefix LD_LIBRARY_PATH : "$librarypath" \
139+ --prefix LD_LIBRARY_PATH : "${apulse}/lib/apulse" \
140+ --set APULSE_PLAYBACK_DEVICE plug:dmix \
137141 --prefix PATH : "${gnome3.zenity}/bin"
138142
139143 # fix Icon line in the desktop file (#48062)
@@ -158,7 +162,7 @@ stdenv.mkDerivation {
158162 homepage = https://www.spotify.com/;
159163 description = "Play music from the Spotify music service";
160164 license = licenses.unfree;
161− maintainers = with maintainers; [ eelco ftrvxmtrx sheenobu mudri timokau ];
165+ maintainers = with maintainers; [ eelco ftrvxmtrx sheenobu mudri timokau angristan ];
162166 platforms = [ "x86_64-linux" ];
163167 };
164168}