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