mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 23:24:35 +00:00
02297beade
Lots of packages are missing versions in their name. This adds them where appropriate. These were found with this command: $ nix-env -qa -f. | grep -v '\-[0-9A-Za-z.-_+]*$' | grep -v '^hook$' See issue #41007.
33 lines
920 B
Nix
33 lines
920 B
Nix
{ stdenv, fetchurl, autoreconfHook, intltool
|
|
, pythonPackages
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mpDris2";
|
|
name = "${pname}-${version}";
|
|
version = "0.7";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/eonpatapon/${pname}/archive/${version}.tar.gz";
|
|
sha256 = "095swrjw59lh8qiwmjjjdbxl9587axilkj4mh2sx5m0kiq929z21";
|
|
};
|
|
|
|
preConfigure = ''
|
|
intltoolize -f
|
|
'';
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ intltool pythonPackages.wrapPython ];
|
|
propagatedBuildInputs = with pythonPackages; [ python pygtk dbus-python ];
|
|
pythonPath = with pythonPackages; [ mpd pygtk dbus-python notify mutagen ];
|
|
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 ];
|
|
};
|
|
}
|