2023-07-15 17:15:38 +00:00
|
|
|
{ lib, python3Packages, fetchPypi, mopidy }:
|
2021-12-30 13:39:12 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "mopidy-jellyfin";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.0.5";
|
2021-12-30 13:39:12 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchPypi {
|
2021-12-30 13:39:12 +00:00
|
|
|
inherit version;
|
|
|
|
pname = "Mopidy-Jellyfin";
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-cZliraTxTAJ2dXaxttWI3x4wCkmEhEo33GTNtAYwgTc=";
|
2021-12-30 13:39:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ mopidy python3Packages.unidecode python3Packages.websocket-client ];
|
|
|
|
|
|
|
|
# no tests implemented
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "mopidy_jellyfin" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/jellyfin/mopidy-jellyfin";
|
|
|
|
description = "Mopidy extension for playing audio files from Jellyfin";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.pstn ];
|
|
|
|
};
|
|
|
|
}
|