1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-12 07:34:36 +00:00
nixpkgs/pkgs/tools/audio/mpdris2/default.nix

31 lines
850 B
Nix
Raw Normal View History

{ stdenv, fetchurl, autoreconfHook, intltool
2016-10-06 19:34:35 +01:00
, pythonPackages
}:
stdenv.mkDerivation rec {
name = "mpDris2";
2017-04-17 22:24:02 +01:00
version = "0.7";
src = fetchurl {
url = "https://github.com/eonpatapon/${name}/archive/${version}.tar.gz";
2017-04-17 22:24:02 +01:00
sha256 = "095swrjw59lh8qiwmjjjdbxl9587axilkj4mh2sx5m0kiq929z21";
};
preConfigure = ''
intltoolize -f
'';
buildInputs = [ intltool autoreconfHook pythonPackages.wrapPython ];
2016-10-06 19:34:35 +01:00
propagatedBuildInputs = with pythonPackages; [ python 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 ];
};
}