python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / audio / pasystray / default.nix
blob8df578d0310977e5ecca9be7426edb2cc9314db5
1 { lib, stdenv, fetchpatch, fetchFromGitHub, pkg-config, autoreconfHook, wrapGAppsHook
2 , gnome, avahi, gtk3, libayatana-appindicator, libnotify, libpulseaudio
3 , gsettings-desktop-schemas
4 }:
6 stdenv.mkDerivation rec {
7   pname = "pasystray";
8   version = "0.7.1";
10   src = fetchFromGitHub {
11     owner = "christophgysin";
12     repo = "pasystray";
13     rev = "${pname}-${version}";
14     sha256 = "0xx1bm9kimgq11a359ikabdndqg5q54pn1d1dyyjnrj0s41168fk";
15   };
17   patches = [
18     # https://github.com/christophgysin/pasystray/issues/90#issuecomment-306190701
19     ./fix-wayland.patch
21     # https://github.com/christophgysin/pasystray/issues/98
22     (fetchpatch {
23       url = "https://sources.debian.org/data/main/p/pasystray/0.7.1-1/debian/patches/0001-Build-against-ayatana-appindicator.patch";
24       sha256 = "0hijphrf52n2zfwdnrmxlp3a7iwznnkb79awvpzplz0ia2lqywpw";
25     })
26   ];
28   nativeBuildInputs = [ pkg-config autoreconfHook wrapGAppsHook ];
29   buildInputs = [
30     gnome.adwaita-icon-theme
31     avahi gtk3 libayatana-appindicator libnotify libpulseaudio
32     gsettings-desktop-schemas
33   ];
35   meta = with lib; {
36     description = "PulseAudio system tray";
37     homepage = "https://github.com/christophgysin/pasystray";
38     license = licenses.lgpl21Plus;
39     maintainers = with maintainers; [ exlevan kamilchm ];
40     platforms = platforms.linux;
41   };