From b4217d476a21617bd0fb80931fa90281af7588b3 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Sun, 5 Nov 2023 11:47:51 -0500 Subject: [PATCH 1/2] mopidy-spotify: add updateScript --- pkgs/applications/audio/mopidy/spotify.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/audio/mopidy/spotify.nix b/pkgs/applications/audio/mopidy/spotify.nix index 86d20ea5e83b..58d2461574f0 100644 --- a/pkgs/applications/audio/mopidy/spotify.nix +++ b/pkgs/applications/audio/mopidy/spotify.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, pythonPackages, mopidy }: +{ lib, fetchFromGitHub, pythonPackages, mopidy, unstableGitUpdater }: pythonPackages.buildPythonApplication rec { pname = "mopidy-spotify"; @@ -22,6 +22,8 @@ pythonPackages.buildPythonApplication rec { pythonImportsCheck = [ "mopidy_spotify" ]; + passthru.updateScript = unstableGitUpdater { }; + meta = with lib; { homepage = "https://github.com/mopidy/mopidy-spotify"; description = "Mopidy extension for playing music from Spotify"; From b0ab1eba3d0c6c5182554e82ad0490d4f927bd8f Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Sun, 5 Nov 2023 16:48:10 +0000 Subject: [PATCH 2/2] mopidy-spotify: unstable-2023-04-21 -> unstable-2023-11-01 --- pkgs/applications/audio/mopidy/spotify.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/audio/mopidy/spotify.nix b/pkgs/applications/audio/mopidy/spotify.nix index 58d2461574f0..417dd8e41a65 100644 --- a/pkgs/applications/audio/mopidy/spotify.nix +++ b/pkgs/applications/audio/mopidy/spotify.nix @@ -2,13 +2,13 @@ pythonPackages.buildPythonApplication rec { pname = "mopidy-spotify"; - version = "unstable-2023-04-21"; + version = "unstable-2023-11-01"; src = fetchFromGitHub { owner = "mopidy"; repo = "mopidy-spotify"; - rev = "984151ac96c5f9c35892055bff20cc11f46092d5"; - hash = "sha256-4e9Aj0AOFR4/FK54gr1ZyPt0nYZDMrMetV4FPtBxapU="; + rev = "48faaaa2642647b0152231798b46ccd9631694f5"; + hash = "sha256-RwkUdcbDU7/ndVnPteG/iXB2dloljvCHQlvPk4tacuA="; }; propagatedBuildInputs = [