Merge pull request #53418 from dtzWill/update/pasystray-0.7.1

pasystray: 0.7.0 -> 0.7.1, cleanup
This commit is contained in:
Will Dietz 2019-01-13 19:51:50 -06:00 committed by GitHub
commit d79e351079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoconf, automake, makeWrapper, pkgconfig
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, wrapGAppsHook
, gnome3, avahi, gtk3, libappindicator-gtk3, libnotify, libpulseaudio
, xlibsWrapper
}:
@ -14,25 +14,13 @@ stdenv.mkDerivation rec {
sha256 = "0xx1bm9kimgq11a359ikabdndqg5q54pn1d1dyyjnrj0s41168fk";
};
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig autoreconfHook wrapGAppsHook ];
buildInputs = [
autoconf automake makeWrapper
gnome3.defaultIconTheme
avahi gtk3 libappindicator-gtk3 libnotify libpulseaudio xlibsWrapper
gnome3.gsettings-desktop-schemas
];
preConfigure = ''
aclocal
autoconf
autoheader
automake --add-missing
'';
preFixup = ''
wrapProgram "$out/bin/pasystray" \
--prefix XDG_DATA_DIRS : "${gnome3.defaultIconTheme}/share:$GSETTINGS_SCHEMAS_PATH"
'';
meta = with stdenv.lib; {
description = "PulseAudio system tray";
homepage = https://github.com/christophgysin/pasystray;