Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / birdtray / default.nix
blob4865f9f29edae111103f88f19049e5d3a5578cd7
1 { mkDerivation
2   , lib
3   , fetchFromGitHub
5   , cmake
6   , pkg-config
7   , qtbase
8   , qttools
9   , qtx11extras
12 mkDerivation rec {
13   pname = "birdtray";
14   version = "1.11.4";
16   src = fetchFromGitHub {
17     owner = "gyunaev";
18     repo = pname;
19     rev = "v${version}";
20     sha256 = "sha256-rj8tPzZzgW0hXmq8c1LiunIX1tO/tGAaqDGJgCQda5M=";
21   };
23   nativeBuildInputs = [ cmake pkg-config ];
24   buildInputs = [
25     qtbase qttools qtx11extras
26   ];
28   # Wayland support is broken.
29   # https://github.com/gyunaev/birdtray/issues/113#issuecomment-621742315
30   qtWrapperArgs = [ "--set QT_QPA_PLATFORM xcb" ];
32   meta = with lib; {
33     description = "Mail system tray notification icon for Thunderbird";
34     homepage = "https://github.com/gyunaev/birdtray";
35     license = licenses.gpl3Plus;
36     maintainers = with maintainers; [ Flakebi ];
37     platforms = platforms.linux;
38   };