2023-11-16 04:20:00 +00:00
|
|
|
{ lib, fetchFromGitHub, pythonPackages, mopidy, unstableGitUpdater }:
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
|
|
pname = "mopidy-spotify";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "unstable-2024-02-27";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mopidy";
|
|
|
|
repo = "mopidy-spotify";
|
2024-02-29 20:09:43 +00:00
|
|
|
rev = "112d4abbb3f5b6477dab796f2824fa42196bfa0a";
|
|
|
|
hash = "sha256-RkXDzAbOOll3uCNZ2mFRnjqMkT/NkXOGjywLRTC9i60=";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
mopidy
|
|
|
|
pythonPackages.responses
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pythonPackages.pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "mopidy_spotify" ];
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|