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:
commit
2828fe8c7e
@ -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 // {
|
||||||
|
Loading…
Reference in New Issue
Block a user