From b021459220fd6b823cc71ad5d012a54e24a92c60 Mon Sep 17 00:00:00 2001 From: rewine Date: Sun, 12 Mar 2023 18:54:03 +0800 Subject: [PATCH] deepin.deepin-draw: 5.11.4 -> 5.11.7 --- pkgs/desktops/deepin/apps/deepin-draw/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pkgs/desktops/deepin/apps/deepin-draw/default.nix b/pkgs/desktops/deepin/apps/deepin-draw/default.nix index 2138d910960f..c43cc77b5108 100644 --- a/pkgs/desktops/deepin/apps/deepin-draw/default.nix +++ b/pkgs/desktops/deepin/apps/deepin-draw/default.nix @@ -2,25 +2,26 @@ , lib , fetchFromGitHub , fetchpatch -, dtkwidget -, qt5integration -, qt5platform-plugins , cmake , qttools , pkg-config , wrapQtAppsHook , qtbase +, qtsvg +, dtkwidget +, qt5integration +, qt5platform-plugins }: stdenv.mkDerivation rec { pname = "deepin-draw"; - version = "5.11.4"; + version = "5.11.7"; src = fetchFromGitHub { owner = "linuxdeepin"; repo = pname; rev = version; - sha256 = "sha256-49RQQ52HR5aqzeVEjGm9vQpTOxhY7I0X724x/Bboo90="; + sha256 = "sha256-oryh1b7/78Hp3JclN9vKvfcKRg58nsfGZQvBx6VyJBs"; }; patches = [ @@ -44,12 +45,16 @@ stdenv.mkDerivation rec { ]; buildInputs = [ + qtbase + qtsvg dtkwidget qt5platform-plugins ]; cmakeFlags = [ "-DVERSION=${version}" ]; + strictDeps = true; + # qt5integration must be placed before qtsvg in QT_PLUGIN_PATH qtWrapperArgs = [ "--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"