depot/third_party/nixpkgs/pkgs/applications/misc/birdtray/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

39 lines
875 B
Nix

{ mkDerivation
, lib
, fetchFromGitHub
, cmake
, pkg-config
, qtbase
, qttools
, qtx11extras
}:
mkDerivation rec {
pname = "birdtray";
version = "1.11.4";
src = fetchFromGitHub {
owner = "gyunaev";
repo = pname;
rev = "v${version}";
sha256 = "sha256-rj8tPzZzgW0hXmq8c1LiunIX1tO/tGAaqDGJgCQda5M=";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [
qtbase qttools qtx11extras
];
# 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";
homepage = "https://github.com/gyunaev/birdtray";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ Flakebi oxalica ];
platforms = platforms.linux;
};
}