Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
53 lines
1.1 KiB
Nix
53 lines
1.1 KiB
Nix
{
|
|
mkDerivation,
|
|
lib,
|
|
fetchFromGitHub,
|
|
|
|
cmake,
|
|
pkg-config,
|
|
qtbase,
|
|
qttools,
|
|
qtx11extras,
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "birdtray";
|
|
version = "1.11.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gyunaev";
|
|
repo = "birdtray";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-rj8tPzZzgW0hXmq8c1LiunIX1tO/tGAaqDGJgCQda5M=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
buildInputs = [
|
|
qtbase
|
|
qttools
|
|
qtx11extras
|
|
];
|
|
|
|
cmakeFlags = [
|
|
# CMake 4 dropped support of versions lower than 3.5,
|
|
# versions lower than 3.10 are deprecated.
|
|
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
|
|
];
|
|
|
|
# Wayland support is broken.
|
|
# https://github.com/gyunaev/birdtray/issues/113#issuecomment-621742315
|
|
qtWrapperArgs = [ "--set QT_QPA_PLATFORM xcb" ];
|
|
|
|
meta = with lib; {
|
|
description = "Mail system tray notification icon for Thunderbird";
|
|
mainProgram = "birdtray";
|
|
homepage = "https://github.com/gyunaev/birdtray";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ Flakebi ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|