tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
deepin.dtk6systemsettings: init at 6.0.2
rewine
2 years ago
1c0f273d
6a52b0a1
+64
2 changed files
expand all
collapse all
unified
split
pkgs
desktops
deepin
default.nix
library
dtk6systemsettings
default.nix
+1
pkgs/desktops/deepin/default.nix
···
27
27
dtk6gui = callPackage ./library/dtk6gui { };
28
28
dtk6widget = callPackage ./library/dtk6widget { };
29
29
dtk6declarative = callPackage ./library/dtk6declarative { };
30
30
+
dtk6systemsettings = callPackage ./library/dtk6systemsettings { };
30
31
31
32
#### CORE
32
33
deepin-kwin = callPackage ./core/deepin-kwin { };
+63
pkgs/desktops/deepin/library/dtk6systemsettings/default.nix
···
1
1
+
{ stdenv
2
2
+
, lib
3
3
+
, fetchFromGitHub
4
4
+
, fetchpatch
5
5
+
, cmake
6
6
+
, pkg-config
7
7
+
, doxygen
8
8
+
, qt6Packages
9
9
+
, dtk6core
10
10
+
, libxcrypt
11
11
+
}:
12
12
+
13
13
+
stdenv.mkDerivation rec {
14
14
+
pname = "dtk6systemsettings";
15
15
+
version = "6.0.2";
16
16
+
17
17
+
src = fetchFromGitHub {
18
18
+
owner = "linuxdeepin";
19
19
+
repo = pname;
20
20
+
rev = version;
21
21
+
hash = "sha256-b/iI2OKQQoFj3vWatfGdDP9z+SEsK5XBra9KqjlGzqs=";
22
22
+
};
23
23
+
24
24
+
nativeBuildInputs = [
25
25
+
cmake
26
26
+
pkg-config
27
27
+
doxygen
28
28
+
qt6Packages.qttools
29
29
+
];
30
30
+
31
31
+
dontWrapQtApps = true;
32
32
+
33
33
+
buildInputs = [
34
34
+
qt6Packages.qtbase
35
35
+
dtk6core
36
36
+
libxcrypt
37
37
+
];
38
38
+
39
39
+
cmakeFlags = [
40
40
+
"-DDTK_VERSION=${version}"
41
41
+
"-DBUILD_DOCS=ON"
42
42
+
"-DBUILD_EXAMPLES=OFF"
43
43
+
"-DQCH_INSTALL_DESTINATION=${placeholder "doc"}/share/doc"
44
44
+
"-DMKSPECS_INSTALL_DIR=${placeholder "out"}/mkspecs/modules"
45
45
+
"-DDTK_INCLUDE_INSTALL_DIR=${placeholder "dev"}/include/dtk/DSystemSettings"
46
46
+
];
47
47
+
48
48
+
preConfigure = ''
49
49
+
# qt.qpa.plugin: Could not find the Qt platform plugin "minimal"
50
50
+
# A workaround is to set QT_PLUGIN_PATH explicitly
51
51
+
export QT_PLUGIN_PATH=${lib.getBin qt6Packages.qtbase}/${qt6Packages.qtbase.qtPluginPrefix}
52
52
+
'';
53
53
+
54
54
+
outputs = [ "out" "dev" "doc" ];
55
55
+
56
56
+
meta = {
57
57
+
description = "Qt-based development library for system settings";
58
58
+
homepage = "https://github.com/linuxdeepin/dtk6systemsettings";
59
59
+
license = lib.licenses.lgpl3Plus;
60
60
+
platforms = lib.platforms.linux;
61
61
+
maintainers = lib.teams.deepin.members;
62
62
+
};
63
63
+
}