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

28 lines
638 B
Nix
Raw Normal View History

2020-01-24 09:26:35 +00:00
{ stdenv, python3Packages, mopidy }:
python3Packages.buildPythonApplication rec {
pname = "mopidy-mpris";
2020-06-10 14:57:40 +00:00
version = "3.0.2";
2020-01-24 09:26:35 +00:00
src = python3Packages.fetchPypi {
inherit version;
pname = "Mopidy-MPRIS";
2020-06-10 14:57:40 +00:00
sha256 = "0mmdaikw00f43gzjdbvlcvzff6yppm7v8mv012r79adzd992q9y0";
2020-01-24 09:26:35 +00:00
};
propagatedBuildInputs = [
mopidy
python3Packages.pydbus
];
doCheck = false;
meta = with stdenv.lib; {
2020-06-10 14:57:40 +00:00
homepage = "https://www.mopidy.com/";
2020-01-24 09:26:35 +00:00
description = "Mopidy extension for controlling Mopidy through D-Bus using the MPRIS specification";
license = licenses.asl20;
maintainers = [ maintainers.nickhu ];
};
}