syncthingtray: 1.1.2 -> 1.1.3

Move cmake-extra-modules to `nativeBuildInputs`.
This commit is contained in:
R. RyanTM 2021-03-13 14:57:41 +00:00 committed by Doron Behar
parent d70c7d2388
commit 09481d065e

View File

@ -19,24 +19,29 @@
}:
mkDerivation rec {
version = "1.1.2";
version = "1.1.3";
pname = "syncthingtray";
src = fetchFromGitHub {
owner = "Martchus";
repo = "syncthingtray";
rev = "v${version}";
sha256 = "sha256-I5QhnYp4ga3ERJ3w4qjh5gFFU+S1Htw26vHK/2M8j5s=";
sha256 = "sha256-ovit2XSkxSjcbpqQUv8IzMqfsfItbtXLbx0/Vy0+J0Y=";
};
buildInputs = [ qtbase cpp-utilities qtutilities ]
++ lib.optionals webviewSupport [ qtwebengine ]
++ lib.optionals jsSupport [ qtdeclarative ]
++ lib.optionals kioPluginSupport [ kio ]
++ lib.optionals plasmoidSupport [ extra-cmake-modules plasma-framework ]
++ lib.optionals plasmoidSupport [ plasma-framework ]
;
nativeBuildInputs = [ cmake qttools ];
nativeBuildInputs = [
cmake
qttools
]
++ lib.optionals plasmoidSupport [ extra-cmake-modules ]
;
# No tests are available by upstream, but we test --help anyway
doInstallCheck = true;
@ -56,7 +61,7 @@ mkDerivation rec {
meta = with lib; {
homepage = "https://github.com/Martchus/syncthingtray";
description = "Tray application and Dolphin/Plasma integration for Syncthing";
license = licenses.gpl2;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ doronbehar ];
platforms = platforms.linux;
};