summary refs log tree commit diff
path: root/pkgs/applications/misc/birdtray/default.nix
blob: 29522f75c25748861eb255c4392ded6fde76b6ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ mkDerivation
  , lib
  , fetchFromGitHub

  , cmake
  , pkgconfig
  , qtbase
  , qttools
  , qtx11extras
  , sqlite
}:

mkDerivation rec {
  pname = "birdtray";
  version = "1.7.0";

  src = fetchFromGitHub {
    owner = "gyunaev";
    repo = pname;
    rev = "RELEASE_${version}";
    sha256 = "0wj2lq5bz1p0cf6yj43v3ifxschcrh5amwx30wqw2m4bb8syzjw1";
  };

  nativeBuildInputs = [ cmake pkgconfig ];
  buildInputs = [
    qtbase qtx11extras sqlite
  ];

  installPhase = ''
    install -Dm755 birdtray $out/bin/birdtray
  '';

  meta = with lib; {
    description = "Mail system tray notification icon for Thunderbird";
    homepage = "https://github.com/gyunaev/birdtray";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ Flakebi ];
    platforms = platforms.linux;
  };
}