1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 nixosTests,
6 dtkwidget,
7 qt5integration,
8 qt5platform-plugins,
9 cmake,
10 libsForQt5,
11 pkg-config,
12 libsecret,
13 chrpath,
14 lxqt,
15}:
16
17stdenv.mkDerivation rec {
18 pname = "deepin-terminal";
19 version = "6.0.17";
20
21 src = fetchFromGitHub {
22 owner = "linuxdeepin";
23 repo = pname;
24 rev = version;
25 hash = "sha256-T5tjjbNYUaiG9a5zMoKN6I0ec/WLftF2xwUPczlNwB8=";
26 };
27
28 cmakeFlags = [ "-DVERSION=${version}" ];
29
30 nativeBuildInputs = [
31 cmake
32 libsForQt5.qttools
33 pkg-config
34 libsForQt5.wrapQtAppsHook
35 lxqt.lxqt-build-tools_0_13
36 ];
37
38 buildInputs = [
39 qt5integration
40 qt5platform-plugins
41 libsForQt5.qtbase
42 libsForQt5.qtsvg
43 dtkwidget
44 libsForQt5.qtx11extras
45 libsecret
46 chrpath
47 ];
48
49 strictDeps = true;
50
51 passthru.tests.test = nixosTests.terminal-emulators.deepin-terminal;
52
53 meta = {
54 description = "Terminal emulator with workspace, multiple windows, remote management, quake mode and other features";
55 mainProgram = "deepin-terminal";
56 homepage = "https://github.com/linuxdeepin/deepin-terminal";
57 license = lib.licenses.gpl3Plus;
58 platforms = lib.platforms.linux;
59 teams = [ lib.teams.deepin ];
60 };
61}