1 { lib, stdenv, fetchpatch, fetchFromGitHub, pkg-config, autoreconfHook, wrapGAppsHook3
2 , adwaita-icon-theme, avahi, gtk3, libayatana-appindicator, libnotify, libpulseaudio
3 , gsettings-desktop-schemas
6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
11 owner = "christophgysin";
14 sha256 = "sha256-QaTQ8yUviJaFEQaQm2vYAUngqHliKe8TDYqfWt1Nx/0=";
18 # Use ayatana-appindicator instead of appindicator
19 # https://github.com/christophgysin/pasystray/issues/98
21 url = "https://sources.debian.org/data/main/p/pasystray/0.8.1-1/debian/patches/0001-Build-against-ayatana-appindicator.patch";
22 sha256 = "sha256-/HKPqVARfHr/3Vyls6a1n8ejxqW9Ztu4+8KK4jK8MkI=";
25 # https://github.com/christophgysin/pasystray/issues/90#issuecomment-361881076
27 url = "https://sources.debian.org/data/main/p/pasystray/0.8.1-1/debian/patches/0002-Require-X11-backend.patch";
28 sha256 = "sha256-6njC3vqBPWFS1xAsa1katQ4C0KJdVkHAP1MCPiZ6ELM=";
32 nativeBuildInputs = [ pkg-config autoreconfHook wrapGAppsHook3 ];
35 avahi gtk3 libayatana-appindicator libnotify libpulseaudio
36 gsettings-desktop-schemas
40 description = "PulseAudio system tray";
41 homepage = "https://github.com/christophgysin/pasystray";
42 license = licenses.lgpl21Plus;
43 maintainers = with maintainers; [ exlevan kamilchm ];
44 platforms = platforms.linux;
45 mainProgram = "pasystray";