depot/third_party/nixpkgs/pkgs/applications/audio/mopidy/mpris.nix

31 lines
628 B
Nix

{
lib,
python3Packages,
fetchPypi,
mopidy,
}:
python3Packages.buildPythonApplication rec {
pname = "mopidy-mpris";
version = "3.0.3";
src = fetchPypi {
inherit version;
pname = "Mopidy-MPRIS";
hash = "sha256-rHQgNIyludTEL7RDC8dIpyGTMOt1Tazn6i/orKlSP4U=";
};
propagatedBuildInputs = [
mopidy
python3Packages.pydbus
];
doCheck = false;
meta = with lib; {
homepage = "https://www.mopidy.com/";
description = "Mopidy extension for controlling Mopidy through D-Bus using the MPRIS specification";
license = licenses.asl20;
maintainers = [ maintainers.nickhu ];
};
}