2018-06-26 22:47:34 +02:00
|
|
|
{ stdenv, fetchFromGitHub, autoconf, automake, makeWrapper, pkgconfig
|
|
|
|
, gnome3, avahi, gtk3, libappindicator-gtk3, libnotify, libpulseaudio
|
|
|
|
, xlibsWrapper
|
|
|
|
}:
|
2014-11-07 13:01:11 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-01-24 07:18:15 +01:00
|
|
|
name = "pasystray-${version}";
|
2018-10-01 22:28:46 +02:00
|
|
|
version = "0.7.0";
|
2014-11-07 13:01:11 +01:00
|
|
|
|
2015-05-25 23:12:38 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "christophgysin";
|
|
|
|
repo = "pasystray";
|
2017-01-24 07:18:15 +01:00
|
|
|
rev = name;
|
2018-10-01 22:28:46 +02:00
|
|
|
sha256 = "0cc9hjyw4gr4ip4lw74pzb1l9sxs3ffhf0xn0m1fhmyfbjyixwkh";
|
2014-11-07 13:01:11 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-06-26 22:47:34 +02:00
|
|
|
buildInputs = [
|
|
|
|
autoconf automake makeWrapper
|
|
|
|
gnome3.defaultIconTheme
|
|
|
|
avahi gtk3 libappindicator-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";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/christophgysin/pasystray;
|
2014-11-07 13:44:40 +01:00
|
|
|
license = licenses.lgpl21Plus;
|
2017-01-24 07:18:15 +01:00
|
|
|
maintainers = with maintainers; [ exlevan kamilchm ];
|
2016-08-02 16:41:28 +02:00
|
|
|
platforms = platforms.linux;
|
2014-11-07 13:01:11 +01:00
|
|
|
};
|
|
|
|
}
|