dtkcommon: 5.6.9 -> 5.6.17

This commit is contained in:
rewine 2023-09-26 11:52:56 +08:00
parent e3e89a0713
commit 9ca36cdb32
No known key found for this signature in database
GPG key ID: 2964FF5514455F51

View file

@ -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";