From 1a12eb4a33f71eb3b957bbf7ee5bbc6c3c2f00d7 Mon Sep 17 00:00:00 2001 From: rewine Date: Thu, 16 Mar 2023 11:26:45 +0800 Subject: [PATCH] deepin.deepin-image-viewer: 5.9.4 -> 5.9.11 --- .../deepin/apps/deepin-image-viewer/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/desktops/deepin/apps/deepin-image-viewer/default.nix b/pkgs/desktops/deepin/apps/deepin-image-viewer/default.nix index 0b51bc42b2c5..50ba4584c8b9 100644 --- a/pkgs/desktops/deepin/apps/deepin-image-viewer/default.nix +++ b/pkgs/desktops/deepin/apps/deepin-image-viewer/default.nix @@ -2,6 +2,8 @@ , lib , fetchFromGitHub , fetchpatch +, qtbase +, qtsvg , dtkwidget , qt5integration , qt5platform-plugins @@ -14,18 +16,17 @@ , wrapQtAppsHook , libraw , libexif -, qtbase }: stdenv.mkDerivation rec { pname = "deepin-image-viewer"; - version = "5.9.4"; + version = "5.9.11"; src = fetchFromGitHub { owner = "linuxdeepin"; repo = pname; rev = version; - sha256 = "sha256-5A6K47NcMkvncZIF5CXeHYYZWEHQ4YDnPDQr2axCmaI="; + sha256 = "sha256-IkjAW4bqQLEWF2tgccYCVnQgcEp9DJoXrEx2HDC25gs="; }; patches = [ @@ -55,6 +56,8 @@ stdenv.mkDerivation rec { ]; buildInputs = [ + qtbase + qtsvg dtkwidget qt5platform-plugins gio-qt @@ -64,6 +67,8 @@ stdenv.mkDerivation rec { libexif ]; + strictDeps = true; + cmakeFlags = [ "-DVERSION=${version}" ]; # qt5integration must be placed before qtsvg in QT_PLUGIN_PATH