2015-05-25 23:12:38 +02:00
|
|
|
{stdenv, fetchFromGitHub, autoconf, automake, makeWrapper, pkgconfig
|
2015-09-15 11:13:22 +02:00
|
|
|
, gnome3, avahi, gtk3, libnotify, libpulseaudio, xlibsWrapper}:
|
2014-11-07 13:01:11 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-05-25 02:41:34 +02:00
|
|
|
name = "pasystray-0.5.2";
|
2014-11-07 13:01:11 +01:00
|
|
|
|
2015-05-25 23:12:38 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "christophgysin";
|
|
|
|
repo = "pasystray";
|
|
|
|
rev = "6709fc1e9f792baf4f7b4507a887d5876b2cfa70";
|
|
|
|
sha256 = "1z21wassdiwfnlcrkpdqh8ylblpd1xxjxcmib5mwix9va2lykdfv";
|
2014-11-07 13:01:11 +01:00
|
|
|
};
|
|
|
|
|
2015-05-25 14:13:21 +02:00
|
|
|
buildInputs = [ autoconf automake makeWrapper pkgconfig
|
2015-05-19 14:44:27 +02:00
|
|
|
gnome3.defaultIconTheme
|
2015-09-15 11:13:22 +02:00
|
|
|
avahi gtk3 libnotify libpulseaudio xlibsWrapper ];
|
2014-11-07 13:01:11 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
aclocal
|
|
|
|
autoconf
|
|
|
|
autoheader
|
|
|
|
automake --add-missing
|
|
|
|
'';
|
|
|
|
|
2014-12-06 23:50:26 +01:00
|
|
|
preFixup = ''
|
|
|
|
wrapProgram "$out/bin/pasystray" \
|
2015-05-19 14:44:27 +02:00
|
|
|
--prefix XDG_DATA_DIRS : "${gnome3.defaultIconTheme}/share:$GSETTINGS_SCHEMAS_PATH"
|
2014-12-06 23:50:26 +01:00
|
|
|
'';
|
|
|
|
|
2014-11-07 13:44:40 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-07 13:01:11 +01:00
|
|
|
description = "PulseAudio system tray";
|
2014-11-07 16:51:27 +01:00
|
|
|
homepage = "https://github.com/christophgysin/pasystray";
|
2014-11-07 13:44:40 +01:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = [ maintainers.exlevan ];
|
2016-08-02 16:41:28 +02:00
|
|
|
platforms = platforms.linux;
|
2014-11-07 13:01:11 +01:00
|
|
|
};
|
|
|
|
}
|