tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dde-network-core: 1.1.8 -> 2.0.15
rewine
2 years ago
5cf7c0bc
7613b21f
+9
-25
1 changed file
expand all
collapse all
unified
split
pkgs
desktops
deepin
core
dde-network-core
default.nix
+9
-25
pkgs/desktops/deepin/core/dde-network-core/default.nix
···
5
5
, qttools
6
6
, pkg-config
7
7
, wrapQtAppsHook
8
8
+
, qtbase
9
9
+
, qtsvg
8
10
, dtkwidget
9
11
, dde-dock
10
12
, dde-control-center
11
13
, dde-session-shell
12
12
-
, dde-qt-dbus-factory
13
13
-
, gsettings-qt
14
14
-
, gio-qt
15
14
, networkmanager-qt
16
15
, glib
17
17
-
, pcre
18
18
-
, util-linux
19
19
-
, libselinux
20
20
-
, libsepol
21
21
-
, dbus
22
16
, gtest
23
23
-
, qtbase
24
17
}:
18
18
+
25
19
stdenv.mkDerivation rec {
26
20
pname = "dde-network-core";
27
27
-
version = "1.1.8";
21
21
+
version = "2.0.15";
28
22
29
23
src = fetchFromGitHub {
30
24
owner = "linuxdeepin";
31
25
repo = pname;
32
26
rev = version;
33
33
-
sha256 = "sha256-ysmdB9CT7mhN/0r8CRT4FQsK12HkhjbezGXwWiNScqg=";
27
27
+
hash = "sha256-AMuWEz3Eyw0tG0srLWpqS7MO7Z4ZzIay4z59cZQZU0o=";
34
28
};
35
29
36
36
-
postPatch = ''
37
37
-
substituteInPlace dock-network-plugin/networkplugin.cpp dcc-network-plugin/dccnetworkmodule.cpp dss-network-plugin/network_module.cpp \
38
38
-
--replace "/usr/share" "$out/share"
39
39
-
substituteInPlace dss-network-plugin/notification/bubbletool.cpp \
40
40
-
--replace "/usr/share" "/run/current-system/sw/share"
41
41
-
'';
42
42
-
43
30
nativeBuildInputs = [
44
31
cmake
45
32
qttools
···
48
35
];
49
36
50
37
buildInputs = [
38
38
+
qtbase
39
39
+
qtsvg
51
40
dtkwidget
52
41
dde-dock
53
42
dde-control-center
54
43
dde-session-shell
55
55
-
dde-qt-dbus-factory
56
56
-
gsettings-qt
57
57
-
gio-qt
58
44
networkmanager-qt
59
45
glib
60
60
-
pcre
61
61
-
util-linux
62
62
-
libselinux
63
63
-
libsepol
64
46
gtest
65
47
];
66
48
67
49
cmakeFlags = [
68
50
"-DVERSION=${version}"
69
51
];
52
52
+
53
53
+
strictDeps = true;
70
54
71
55
meta = with lib; {
72
56
description = "DDE network library framework";