From 9ca36cdb3268890d414d6c6ea78a42de14ae1d50 Mon Sep 17 00:00:00 2001 From: rewine Date: Tue, 26 Sep 2023 11:52:56 +0800 Subject: [PATCH] dtkcommon: 5.6.9 -> 5.6.17 --- .../deepin/library/dtkcommon/default.nix | 20 +++---------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/pkgs/desktops/deepin/library/dtkcommon/default.nix b/pkgs/desktops/deepin/library/dtkcommon/default.nix index a0845277355e..b3aa4481c9b8 100644 --- a/pkgs/desktops/deepin/library/dtkcommon/default.nix +++ b/pkgs/desktops/deepin/library/dtkcommon/default.nix @@ -1,39 +1,25 @@ { stdenv , lib , fetchFromGitHub -, pkg-config , cmake -, qtbase -, qttools -, wrapQtAppsHook -, glib }: stdenv.mkDerivation rec { pname = "dtkcommon"; - version = "5.6.9"; + version = "5.6.17"; src = fetchFromGitHub { owner = "linuxdeepin"; repo = pname; rev = version; - sha256 = "sha256-FHXwgFTevCGTNUPlb/oeltE2//Sjwz7YVvko7QPOsRo="; + hash = "sha256-mquBuF+Gzq5txxCczeS+gI8LshdKnK5WnpOCytNki+w="; }; nativeBuildInputs = [ cmake - pkg-config - qttools - wrapQtAppsHook ]; - buildInputs = [ qtbase ]; - - qmakeFlags = [ "PREFIX=${placeholder "out"}" ]; - - preFixup = '' - glib-compile-schemas ${glib.makeSchemaPath "$out" "${pname}-${version}"} - ''; + dontWrapQtApps = true; meta = with lib; { description = "A public project for building DTK Library";