Merge pull request #247940 from Intuinewin/spotify/darwin-update

spotify: 1.2.15.828.g79f41970 -> 1.2.17.834.g26ee1129
This commit is contained in:
Nick Cao 2023-08-12 23:59:08 -06:00 committed by GitHub
commit 2828fe8c7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,17 +9,17 @@
stdenv.mkDerivation { stdenv.mkDerivation {
inherit pname; inherit pname;
version = "1.2.15.828.g79f41970"; version = "1.2.17.834.g26ee1129";
src = if stdenv.isAarch64 then ( src = if stdenv.isAarch64 then (
fetchurl { fetchurl {
url = "https://web.archive.org/web/20230710021420/https://download.scdn.co/SpotifyARM64.dmg"; url = "https://web.archive.org/web/20230808124344/https://download.scdn.co/SpotifyARM64.dmg";
sha256 = "sha256-1X0Mln47uYs5l1t+5BFBk5lLnXZgnSqZLX41yA91I0s="; sha256 = "sha256-u22hIffuCT6DwN668TdZXYedY9PSE7ZnL+ITK78H7FI=";
}) })
else ( else (
fetchurl { fetchurl {
url = "https://web.archive.org/web/20230710021726/https://download.scdn.co/Spotify.dmg"; url = "https://web.archive.org/web/20230808124637/https://download.scdn.co/Spotify.dmg";
sha256 = "sha256-CmKZx8Ad0w6STBN0O4Sc4XqidOM6fCl74u2sI8w+Swk="; sha256 = "sha256-aaYMbZpa2LvyBeXmEAjrRYfYqbudhJHR/hvCNTsNQmw=";
}); });
nativeBuildInputs = [ undmg ]; nativeBuildInputs = [ undmg ];
@ -27,8 +27,12 @@ stdenv.mkDerivation {
sourceRoot = "."; sourceRoot = ".";
installPhase = '' installPhase = ''
runHook preInstall
mkdir -p $out/Applications mkdir -p $out/Applications
cp -r *.app $out/Applications cp -r *.app $out/Applications
runHook postInstall
''; '';
meta = meta // { meta = meta // {