nixpkgs/pkgs/applications/misc/birdtray/default.nix

41 lines
798 B
Nix
Raw Normal View History

2019-11-17 11:51:25 +00:00
{ mkDerivation
, lib
, fetchFromGitHub
, cmake
, pkgconfig
, qtbase
, qttools
, qtx11extras
, sqlite
}:
mkDerivation rec {
pname = "birdtray";
2019-12-08 01:53:03 +00:00
version = "1.7.0";
2019-11-17 11:51:25 +00:00
src = fetchFromGitHub {
owner = "gyunaev";
repo = pname;
rev = "RELEASE_${version}";
2019-12-08 01:53:03 +00:00
sha256 = "0wj2lq5bz1p0cf6yj43v3ifxschcrh5amwx30wqw2m4bb8syzjw1";
2019-11-17 11:51:25 +00:00
};
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";
2019-11-17 11:51:25 +00:00
license = licenses.gpl3Plus;
maintainers = with maintainers; [ Flakebi ];
platforms = platforms.linux;
};
}