2016-10-31 20:06:32 +00:00
|
|
|
{ stdenv, fetchFromGitHub
|
|
|
|
, qtbase, qtwebengine
|
|
|
|
, qmakeHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-24 17:10:12 +00:00
|
|
|
version = "0.5.7";
|
2016-10-31 20:06:32 +00:00
|
|
|
name = "qsyncthingtray-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sieren";
|
|
|
|
repo = "QSyncthingTray";
|
|
|
|
rev = "${version}";
|
2017-02-24 17:10:12 +00:00
|
|
|
sha256 = "0crrdpdmlc4ahkvp5znzc4zhfwsdih655q1kfjf0g231mmynxhvq";
|
2016-10-31 20:06:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ qtbase qtwebengine ];
|
|
|
|
nativeBuildInputs = [ qmakeHook ];
|
|
|
|
enableParallelBuilding = true;
|
2017-03-13 03:46:02 +00:00
|
|
|
|
2016-10-31 20:06:32 +00:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp binary/QSyncthingTray $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/sieren/QSyncthingTray/;
|
|
|
|
description = "A Traybar Application for Syncthing written in C++";
|
|
|
|
longDescription = ''
|
|
|
|
A cross-platform status bar for Syncthing.
|
|
|
|
Currently supports OS X, Windows and Linux.
|
|
|
|
Written in C++ with Qt.
|
|
|
|
'';
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ zraexy ];
|
|
|
|
platforms = platforms.all;
|
2017-03-13 03:46:02 +00:00
|
|
|
broken = builtins.compareVersions qtbase.version "5.7.0" >= 0;
|
2016-10-31 20:06:32 +00:00
|
|
|
};
|
|
|
|
}
|