2020-04-24 23:36:52 +00:00
|
|
|
{ mkDerivation
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
|
|
|
|
, cmake
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, qtbase
|
|
|
|
, qttools
|
|
|
|
, qtx11extras
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "birdtray";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "1.11.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gyunaev";
|
|
|
|
repo = pname;
|
2020-10-27 00:29:36 +00:00
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-rj8tPzZzgW0hXmq8c1LiunIX1tO/tGAaqDGJgCQda5M=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
|
|
|
qtbase qttools qtx11extras
|
|
|
|
];
|
|
|
|
|
2021-03-19 17:17:44 +00:00
|
|
|
# Wayland support is broken.
|
|
|
|
# https://github.com/gyunaev/birdtray/issues/113#issuecomment-621742315
|
|
|
|
qtWrapperArgs = [ "--set QT_QPA_PLATFORM xcb" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Mail system tray notification icon for Thunderbird";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "birdtray";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/gyunaev/birdtray";
|
|
|
|
license = licenses.gpl3Plus;
|
2023-11-16 04:20:00 +00:00
|
|
|
maintainers = with maintainers; [ Flakebi ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|