mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
26 lines
706 B
Nix
26 lines
706 B
Nix
{ lib, python3Packages, fetchPypi, mopidy }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "mopidy-jellyfin";
|
|
version = "1.0.4";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "Mopidy-Jellyfin";
|
|
sha256 = "ny0u6HdOlZCsmIzZuQ1rql+bvHU3xkh8IdwhJVHNH9c=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|