New package: mpDris2, MPRIS 2 support for mpd

This commit is contained in:
Peter Jones 2015-05-20 13:56:42 -06:00
parent 824da827ac
commit 05a6c34e04
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ stdenv, fetchurl, autoreconfHook, intltool
, python, wrapPython, mpd, pygtk, dbus, pynotify
}:
stdenv.mkDerivation rec {
name = "mpDris2";
version = "0.6";
src = fetchurl {
url = "https://github.com/eonpatapon/${name}/archive/${version}.tar.gz";
sha256 = "0zdmamj2ldhr6y3s464w8y2x3yizda784jnlrg3j3myfabssisvz";
};
buildInputs = [ intltool autoreconfHook ];
propagatedBuildInputs = [ python wrapPython ];
pythonPath = [ mpd pygtk dbus pynotify ];
postInstall = "wrapPythonPrograms";
meta = with stdenv.lib; {
description = "MPRIS 2 support for mpd";
homepage = https://github.com/eonpatapon/mpDris2/;
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ pjones ];
};
}

View File

@ -842,6 +842,15 @@ let
mpdcron = callPackage ../tools/audio/mpdcron { };
mpdris2 = callPackage ../tools/audio/mpdris2 {
python = pythonFull;
wrapPython = pythonPackages.wrapPython;
mpd = pythonPackages.mpd;
pygtk = pythonPackages.pygtk;
dbus = pythonPackages.dbus;
pynotify = pythonPackages.notify;
};
syslogng = callPackage ../tools/system/syslog-ng { };
syslogng_incubator = callPackage ../tools/system/syslog-ng-incubator { };