Skip to content

Commit

Permalink
mopidy-spotify: re-init at unstable-2023-04-21
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyinstarlight committed May 15, 2023
1 parent 4f8d022 commit 77f0d20
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pkgs/applications/audio/mopidy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ lib.makeScope newScope (self: with self; {

mopidy-soundcloud = callPackage ./soundcloud.nix { };

mopidy-spotify = callPackage ./spotify.nix { };

mopidy-tidal = callPackage ./tidal.nix { };

mopidy-tunein = callPackage ./tunein.nix { };
Expand Down
31 changes: 31 additions & 0 deletions pkgs/applications/audio/mopidy/spotify.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ lib, fetchFromGitHub, pythonPackages, mopidy }:

pythonPackages.buildPythonApplication rec {
pname = "mopidy-spotify";
version = "unstable-2023-04-21";

src = fetchFromGitHub {
owner = "mopidy";
repo = "mopidy-spotify";
rev = "984151ac96c5f9c35892055bff20cc11f46092d5";
hash = "sha256-4e9Aj0AOFR4/FK54gr1ZyPt0nYZDMrMetV4FPtBxapU=";
};

propagatedBuildInputs = [
mopidy
pythonPackages.responses
];

nativeBuildInputs = [
pythonPackages.pytestCheckHook
];

pythonImportsCheck = [ "mopidy_spotify" ];

meta = with lib; {
homepage = "https://github.com/mopidy/mopidy-spotify";
description = "Mopidy extension for playing music from Spotify";
license = licenses.asl20;
maintainers = with maintainers; [ lilyinstarlight ];
};
}
1 change: 0 additions & 1 deletion pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,6 @@ mapAliases ({
mopidy-gmusic = throw "mopidy-gmusic has been removed because Google Play Music was discontinued"; # Added 2021-03-07
mopidy-local-images = throw "mopidy-local-images has been removed as it's unmaintained. Its functionality has been merged into the mopidy-local extension"; # Added 2020-10-18
mopidy-local-sqlite = throw "mopidy-local-sqlite has been removed as it's unmaintained. Its functionality has been merged into the mopidy-local extension"; # Added 2020-10-18
mopidy-spotify = throw "mopidy-spotify has been removed because Spotify stopped supporting libspotify"; # added 2022-05-29
mopidy-spotify-tunigo = throw "mopidy-spotify-tunigo has been removed because Spotify stopped supporting libspotify"; # added 2022-05-29

morituri = throw "'morituri' has been renamed to/replaced by 'whipper'"; # Converted to throw 2022-02-22
Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32069,6 +32069,7 @@ with pkgs;
mopidy-scrobbler
mopidy-somafm
mopidy-soundcloud
mopidy-spotify
mopidy-subidy
mopidy-tidal
mopidy-tunein
Expand Down

0 comments on commit 77f0d20

Please sign in to comment.