2015-05-19 13:44:27 +01:00
|
|
|
{stdenv, fetchurl, unzip, autoconf, automake, makeWrapper, pkgconfig
|
2015-05-19 19:08:16 +01:00
|
|
|
, gnome3, avahi, gtk3, libnotify, pulseaudio, x11}:
|
2014-11-07 12:01:11 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pasystray-0.4.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/christophgysin/pasystray/archive/${name}.zip";
|
2015-05-24 13:00:40 +01:00
|
|
|
sha256 = "0n41qm04kilhc827yx8y1ijslmajg2dxykaf3s3aq6s6bjzzw8bh";
|
2014-11-07 12:01:11 +00:00
|
|
|
};
|
|
|
|
|
2015-05-19 13:44:27 +01:00
|
|
|
buildInputs = [ unzip autoconf automake makeWrapper pkgconfig
|
|
|
|
gnome3.defaultIconTheme
|
|
|
|
avahi gtk3 libnotify pulseaudio x11 ];
|
2014-11-07 12:01:11 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
aclocal
|
|
|
|
autoconf
|
|
|
|
autoheader
|
|
|
|
automake --add-missing
|
|
|
|
'';
|
|
|
|
|
2014-12-06 22:50:26 +00:00
|
|
|
preFixup = ''
|
|
|
|
wrapProgram "$out/bin/pasystray" \
|
2015-05-19 13:44:27 +01:00
|
|
|
--prefix XDG_DATA_DIRS : "${gnome3.defaultIconTheme}/share:$GSETTINGS_SCHEMAS_PATH"
|
2014-12-06 22:50:26 +00:00
|
|
|
'';
|
|
|
|
|
2014-11-07 12:44:40 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-07 12:01:11 +00:00
|
|
|
description = "PulseAudio system tray";
|
2014-11-07 15:51:27 +00:00
|
|
|
homepage = "https://github.com/christophgysin/pasystray";
|
2014-11-07 12:44:40 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = [ maintainers.exlevan ];
|
|
|
|
platfoms = platforms.linux;
|
2014-11-07 12:01:11 +00:00
|
|
|
};
|
|
|
|
}
|