diff options
author | zraexy <zraexy@users.noreply.github.com> | 2016-10-31 12:06:32 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-31 12:06:32 -0800 |
commit | 33d778a1ca60f956f25b83ba85a01ac4048fdab5 (patch) | |
tree | 16640e6c89d56cdb80f4ff36a84792f9ee5b8a82 /pkgs | |
parent | e675b2c0deb24aabbefbfe342945c20cab616bfb (diff) | |
download | nixlib-33d778a1ca60f956f25b83ba85a01ac4048fdab5.tar nixlib-33d778a1ca60f956f25b83ba85a01ac4048fdab5.tar.gz nixlib-33d778a1ca60f956f25b83ba85a01ac4048fdab5.tar.bz2 nixlib-33d778a1ca60f956f25b83ba85a01ac4048fdab5.tar.lz nixlib-33d778a1ca60f956f25b83ba85a01ac4048fdab5.tar.xz nixlib-33d778a1ca60f956f25b83ba85a01ac4048fdab5.tar.zst nixlib-33d778a1ca60f956f25b83ba85a01ac4048fdab5.zip |
qsyncthingtray: init at 0.5.5rc2
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/misc/qsyncthingtray/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/applications/misc/qsyncthingtray/default.nix b/pkgs/applications/misc/qsyncthingtray/default.nix new file mode 100644 index 000000000000..96d2aa0c85b7 --- /dev/null +++ b/pkgs/applications/misc/qsyncthingtray/default.nix @@ -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; + }; +} |