blob: 4efdb9aa9e4301ef064c2c7a2c5fbbb7cf26f6a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{stdenv, fetchzip, autoconf, automake, makeWrapper, pkgconfig
, gnome3, avahi, gtk3, libnotify, pulseaudio, x11}:
stdenv.mkDerivation rec {
name = "pasystray-0.5.2";
src = fetchzip {
url = "https://github.com/christophgysin/pasystray/archive/${name}.zip";
sha256 = "084jld5zk89h4akll73bwhfav6mpg55zmdd5kvlg396rqi9lqkj4";
};
buildInputs = [ autoconf automake makeWrapper pkgconfig
gnome3.defaultIconTheme
avahi gtk3 libnotify pulseaudio x11 ];
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";
license = licenses.lgpl21Plus;
maintainers = [ maintainers.exlevan ];
platfoms = platforms.linux;
};
}
|