1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 cmake,
6 pkg-config,
7 qt6Packages,
8 dtk6core,
9}:
10
11stdenv.mkDerivation rec {
12 pname = "dde-application-manager";
13 version = "1.2.19";
14
15 src = fetchFromGitHub {
16 owner = "linuxdeepin";
17 repo = pname;
18 rev = version;
19 hash = "sha256-KUwX7oilV562WDxkBhTQhwz2lgcQIYwkmRRglWj0zh8=";
20 };
21
22 nativeBuildInputs = [
23 cmake
24 pkg-config
25 qt6Packages.wrapQtAppsNoGuiHook
26 ];
27
28 buildInputs = [
29 qt6Packages.qtbase
30 dtk6core
31 ];
32
33 meta = with lib; {
34 description = "Application manager for DDE";
35 mainProgram = "dde-application-manager";
36 homepage = "https://github.com/linuxdeepin/dde-application-manager";
37 license = licenses.gpl3Plus;
38 platforms = platforms.linux;
39 teams = [ teams.deepin ];
40 };
41}