New package: mpDris2, MPRIS 2 support for mpd
This commit is contained in:
parent
824da827ac
commit
05a6c34e04
26
pkgs/tools/audio/mpdris2/default.nix
Normal file
26
pkgs/tools/audio/mpdris2/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user