tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dde-clipboard: 5.4.25 -> 6.0.7
rewine
2 years ago
16c60c99
fdc46fb8
+9
-24
1 changed file
expand all
collapse all
unified
split
pkgs
desktops
deepin
core
dde-clipboard
default.nix
+9
-24
pkgs/desktops/deepin/core/dde-clipboard/default.nix
···
2
2
, lib
3
3
, fetchFromGitHub
4
4
, dtkwidget
5
5
-
, qt5integration
6
6
-
, qt5platform-plugins
7
7
-
, dde-qt-dbus-factory
8
5
, gio-qt
9
6
, cmake
7
7
+
, extra-cmake-modules
10
8
, qttools
9
9
+
, wayland
11
10
, kwayland
11
11
+
, dwayland
12
12
, pkg-config
13
13
, wrapQtAppsHook
14
14
, glibmm
···
17
17
18
18
stdenv.mkDerivation rec {
19
19
pname = "dde-clipboard";
20
20
-
version = "5.4.25";
20
20
+
version = "6.0.7";
21
21
22
22
src = fetchFromGitHub {
23
23
owner = "linuxdeepin";
24
24
repo = pname;
25
25
rev = version;
26
26
-
sha256 = "sha256-oFATOBXf4NvGxjVMlfxwfQkBffeKut8ao+X6T9twb/I=";
26
26
+
hash = "sha256-6CbCor0vgVMsMt8KY2uWrNqOsBEIaz7s2nViiHz+m1g=";
27
27
};
28
28
29
29
-
postPatch = ''
30
30
-
substituteInPlace CMakeLists.txt \
31
31
-
--replace "/etc/xdg" "$out/etc/xdg" \
32
32
-
--replace "/lib/systemd/user" "$out/lib/systemd/user" \
33
33
-
--replace "/usr/share" "$out/share"
34
34
-
35
35
-
substituteInPlace misc/com.deepin.dde.Clipboard.service \
36
36
-
--replace "/usr/bin/qdbus" "${lib.getBin qttools}/bin/qdbus"
37
37
-
38
38
-
substituteInPlace misc/{dde-clipboard.desktop,dde-clipboard-daemon.service,com.deepin.dde.Clipboard.service} \
39
39
-
--replace "/usr" "$out"
40
40
-
41
41
-
patchShebangs translate_generation.sh generate_gtest_report.sh
42
42
-
'';
43
43
-
44
29
nativeBuildInputs = [
45
30
cmake
31
31
+
extra-cmake-modules
46
32
pkg-config
47
33
qttools
48
34
wrapQtAppsHook
···
50
36
51
37
buildInputs = [
52
38
dtkwidget
53
53
-
qt5integration
54
54
-
qt5platform-plugins
55
55
-
dde-qt-dbus-factory
56
39
gio-qt
40
40
+
wayland
57
41
kwayland
42
42
+
dwayland
58
43
glibmm
59
44
gtest
60
45
];
61
46
62
47
cmakeFlags = [
63
63
-
"-DUSE_DEEPIN_WAYLAND=OFF"
48
48
+
"-DSYSTEMD_USER_UNIT_DIR=${placeholder "out"}/lib/systemd/user"
64
49
];
65
50
66
51
meta = with lib; {