2015-05-25 22:12:38 +01:00
|
|
|
{stdenv, fetchFromGitHub, autoconf, automake, makeWrapper, pkgconfig
|
2015-09-15 10:13:22 +01:00
|
|
|
, gnome3, avahi, gtk3, libnotify, libpulseaudio, xlibsWrapper}:
|
2014-11-07 12:01:11 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-01-24 06:18:15 +00:00
|
|
|
name = "pasystray-${version}";
|
|
|
|
version = "0.6.0";
|
2014-11-07 12:01:11 +00:00
|
|
|
|
2015-05-25 22:12:38 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "christophgysin";
|
|
|
|
repo = "pasystray";
|
2017-01-24 06:18:15 +00:00
|
|
|
rev = name;
|
|
|
|
sha256 = "0k13s7pmz5ks3kli8pwhzd47hcjwv46gd2fgk7i4fbkfwf3z279h";
|
2014-11-07 12:01:11 +00:00
|
|
|
};
|
|
|
|
|
2015-05-25 13:13:21 +01:00
|
|
|
buildInputs = [ autoconf automake makeWrapper pkgconfig
|
2015-05-19 13:44:27 +01:00
|
|
|
gnome3.defaultIconTheme
|
2015-09-15 10:13:22 +01:00
|
|
|
avahi gtk3 libnotify libpulseaudio xlibsWrapper ];
|
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;
|
2017-01-24 06:18:15 +00:00
|
|
|
maintainers = with maintainers; [ exlevan kamilchm ];
|
2016-08-02 15:41:28 +01:00
|
|
|
platforms = platforms.linux;
|
2014-11-07 12:01:11 +00:00
|
|
|
};
|
|
|
|
}
|