2019-01-04 21:03:44 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, wrapGAppsHook
|
2018-06-26 22:47:34 +02:00
|
|
|
, gnome3, avahi, gtk3, libappindicator-gtk3, libnotify, libpulseaudio
|
2019-04-17 02:38:26 +02:00
|
|
|
, xlibsWrapper, gsettings-desktop-schemas
|
2018-06-26 22:47:34 +02:00
|
|
|
}:
|
2014-11-07 13:01:11 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "pasystray";
|
2019-01-04 21:03:44 +01:00
|
|
|
version = "0.7.1";
|
2014-11-07 13:01:11 +01:00
|
|
|
|
2015-05-25 23:12:38 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "christophgysin";
|
|
|
|
repo = "pasystray";
|
2019-08-15 14:41:18 +02:00
|
|
|
rev = "${pname}-${version}";
|
2019-01-04 21:03:44 +01:00
|
|
|
sha256 = "0xx1bm9kimgq11a359ikabdndqg5q54pn1d1dyyjnrj0s41168fk";
|
2014-11-07 13:01:11 +01:00
|
|
|
};
|
|
|
|
|
2020-04-12 08:18:00 +02:00
|
|
|
patches = [
|
|
|
|
# https://github.com/christophgysin/pasystray/issues/90#issuecomment-306190701
|
|
|
|
./fix-wayland.patch
|
|
|
|
];
|
|
|
|
|
2019-01-04 21:03:44 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook wrapGAppsHook ];
|
2018-06-26 22:47:34 +02:00
|
|
|
buildInputs = [
|
2019-02-13 22:47:50 +01:00
|
|
|
gnome3.adwaita-icon-theme
|
2018-06-26 22:47:34 +02:00
|
|
|
avahi gtk3 libappindicator-gtk3 libnotify libpulseaudio xlibsWrapper
|
2019-04-17 02:38:26 +02:00
|
|
|
gsettings-desktop-schemas
|
2018-06-26 22:47:34 +02:00
|
|
|
];
|
2014-11-07 13:01:11 +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";
|
2020-04-01 03:11:51 +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
|
|
|
};
|
|
|
|
}
|