2021-01-17 01:17:16 -08:00
|
|
|
{ lib, stdenv, fetchpatch, fetchFromGitHub, pkg-config, autoreconfHook, wrapGAppsHook
|
2020-10-13 06:19:38 -07:00
|
|
|
, gnome3, avahi, gtk3, libayatana-appindicator-gtk3, libnotify, libpulseaudio
|
2019-04-16 17:38:26 -07:00
|
|
|
, xlibsWrapper, gsettings-desktop-schemas
|
2018-06-26 13:47:34 -07:00
|
|
|
}:
|
2014-11-07 04:01:11 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "pasystray";
|
2019-01-04 12:03:44 -08:00
|
|
|
version = "0.7.1";
|
2014-11-07 04:01:11 -08:00
|
|
|
|
2015-05-25 14:12:38 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "christophgysin";
|
|
|
|
repo = "pasystray";
|
2019-08-15 05:41:18 -07:00
|
|
|
rev = "${pname}-${version}";
|
2019-01-04 12:03:44 -08:00
|
|
|
sha256 = "0xx1bm9kimgq11a359ikabdndqg5q54pn1d1dyyjnrj0s41168fk";
|
2014-11-07 04:01:11 -08:00
|
|
|
};
|
|
|
|
|
2020-04-11 23:18:00 -07:00
|
|
|
patches = [
|
|
|
|
# https://github.com/christophgysin/pasystray/issues/90#issuecomment-306190701
|
|
|
|
./fix-wayland.patch
|
2020-10-13 06:19:38 -07:00
|
|
|
|
|
|
|
# https://github.com/christophgysin/pasystray/issues/98
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://sources.debian.org/data/main/p/pasystray/0.7.1-1/debian/patches/0001-Build-against-ayatana-appindicator.patch";
|
|
|
|
sha256 = "0hijphrf52n2zfwdnrmxlp3a7iwznnkb79awvpzplz0ia2lqywpw";
|
|
|
|
})
|
2020-04-11 23:18:00 -07:00
|
|
|
];
|
|
|
|
|
2021-01-17 01:17:16 -08:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook wrapGAppsHook ];
|
2018-06-26 13:47:34 -07:00
|
|
|
buildInputs = [
|
2019-02-13 13:47:50 -08:00
|
|
|
gnome3.adwaita-icon-theme
|
2020-10-13 06:19:38 -07:00
|
|
|
avahi gtk3 libayatana-appindicator-gtk3 libnotify libpulseaudio xlibsWrapper
|
2019-04-16 17:38:26 -07:00
|
|
|
gsettings-desktop-schemas
|
2018-06-26 13:47:34 -07:00
|
|
|
];
|
2014-11-07 04:01:11 -08:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2014-11-07 04:01:11 -08:00
|
|
|
description = "PulseAudio system tray";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/christophgysin/pasystray";
|
2014-11-07 04:44:40 -08:00
|
|
|
license = licenses.lgpl21Plus;
|
2017-01-23 22:18:15 -08:00
|
|
|
maintainers = with maintainers; [ exlevan kamilchm ];
|
2016-08-02 07:41:28 -07:00
|
|
|
platforms = platforms.linux;
|
2014-11-07 04:01:11 -08:00
|
|
|
};
|
|
|
|
}
|