nixpkgs/pkgs/tools/audio/mpdris2/default.nix
Frederik Rietdijk 5a501bd828 Remove top-level dbus_python and pythonDBus.
See #11567.

Furthermore, it renames pythonPackages.dbus to pythonPackages.dbus-
python as that's the name upstream uses.

There is a small rebuild but I couldn't figure out the actual cause.
2016-08-16 22:52:37 +02:00

27 lines
821 B
Nix

{ stdenv, fetchurl, autoreconfHook, intltool
, pythonPackages, pythonFull
}:
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 pythonPackages.wrapPython ];
propagatedBuildInputs = with pythonPackages; [ pythonFull pygtk dbus-python ];
pythonPath = with pythonPackages; [ mpd pygtk dbus-python notify ];
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 ];
};
}