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-01-13 08:15:51 +00:00
|
|
|
version = "unstable-2024-01-02";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mopidy";
|
|
|
|
repo = "mopidy-spotify";
|
2024-01-13 08:15:51 +00:00
|
|
|
rev = "ede555c4c6e5f198659a979b85c69294d148c8f3";
|
|
|
|
hash = "sha256-G2SPzMAfJK3mOUJ+odmaugMoAyIAU1J6OXk25J/oXI0=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|