Merge pull request #20028 from zraexy/qsyncthingtray

qsyncthingtray: init at 0.5.5rc2
This commit is contained in:
Michael Raskin 2016-12-28 10:40:18 +00:00 committed by GitHub
commit e1b1df2bd9
3 changed files with 44 additions and 0 deletions

View File

@ -506,4 +506,5 @@
zimbatm = "zimbatm <zimbatm@zimbatm.com>";
zohl = "Al Zohali <zohl@fmap.me>";
zoomulator = "Kim Simmons <zoomulator@gmail.com>";
zraexy = "David Mell <zraexy@gmail.com>";
}

View File

@ -0,0 +1,41 @@
{ stdenv, fetchFromGitHub
, qtbase, qtwebengine
, qmakeHook }:
stdenv.mkDerivation rec {
version = "0.5.5rc2";
name = "qsyncthingtray-${version}";
src = fetchFromGitHub {
owner = "sieren";
repo = "QSyncthingTray";
rev = "${version}";
sha256 = "1x7j7ylgm4ih06m7gb5ls3c9bdjwbra675489caq2f04kgw4yxq2";
};
buildInputs = [ qtbase qtwebengine ];
nativeBuildInputs = [ qmakeHook ];
enableParallelBuilding = true;
postInstall = ''
mkdir -p $out/bin
cp binary/QSyncthingTray $out/bin
cat > $out/bin/qt.conf <<EOF
[Paths]
Prefix = ${qtwebengine.out}
EOF
'';
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;
};
}

View File

@ -14474,6 +14474,8 @@ in
qscreenshot = callPackage ../applications/graphics/qscreenshot {
qt = qt4;
};
qsyncthingtray = qt5.callPackage ../applications/misc/qsyncthingtray { };
qsynth = callPackage ../applications/audio/qsynth { };