mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
40 lines
897 B
Nix
40 lines
897 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";
|
|
mainProgram = "birdtray";
|
|
homepage = "https://github.com/gyunaev/birdtray";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ Flakebi ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|