2015-05-20 20:56:42 +01:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, intltool
|
2016-08-16 21:51:21 +01:00
|
|
|
, pythonPackages, pythonFull
|
2015-05-20 20:56:42 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mpDris2";
|
|
|
|
version = "0.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/eonpatapon/${name}/archive/${version}.tar.gz";
|
|
|
|
sha256 = "0zdmamj2ldhr6y3s464w8y2x3yizda784jnlrg3j3myfabssisvz";
|
|
|
|
};
|
|
|
|
|
2016-08-16 21:51:21 +01:00
|
|
|
buildInputs = [ intltool autoreconfHook pythonPackages.wrapPython ];
|
|
|
|
propagatedBuildInputs = with pythonPackages; [ pythonFull pygtk dbus-python ];
|
|
|
|
pythonPath = with pythonPackages; [ mpd pygtk dbus-python notify ];
|
2015-05-20 20:56:42 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|