mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
27 lines
756 B
Nix
27 lines
756 B
Nix
{ 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 ];
|
|
};
|
|
}
|